aboutsummaryrefslogtreecommitdiffstats
path: root/main/libunique/APKBUILD
blob: 59bd45083f355955f54fcd1b3ab164b0f1edcd92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libunique
pkgver=1.1.6
pkgrel=1
pkgdesc="Library for writing single instance applications"
url="http://live.gnome.org/LibUnique"
license="LGPL"
depends=
makedepends="pkgconfig gtk+-dev dbus-glib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/1.1/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="7955769ef31f1bc4f83446dbb3625e6d  libunique-1.1.6.tar.bz2"