aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-09 11:42:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-11 15:04:39 +0000
commite9b78f6a340cb0902aa8979b3076749fa5b9e0d0 (patch)
tree6db3ed36e15b5aff7e9afd3b7a69b2fe8bcdd4bc /testing
parentb17ba856704dcecbf90930c91aacad26e41db0e1 (diff)
downloadaports-e9b78f6a340cb0902aa8979b3076749fa5b9e0d0.tar.bz2
aports-e9b78f6a340cb0902aa8979b3076749fa5b9e0d0.tar.xz
testing/libunique3: new aport
Library for writing single instance applications http://live.gnome.org/LibUnique
Diffstat (limited to 'testing')
-rw-r--r--testing/libunique3/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/libunique3/APKBUILD b/testing/libunique3/APKBUILD
new file mode 100644
index 0000000000..2a1411e6f0
--- /dev/null
+++ b/testing/libunique3/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libunique3
+pkgver=3.0.2
+pkgrel=0
+pkgdesc="Library for writing single instance applications"
+url="http://live.gnome.org/LibUnique"
+arch="all"
+license="LGPL"
+depends=
+makedepends="gtk+3.0-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://ftp.gnome.org/pub/gnome/sources/libunique/${pkgver%.*}/libunique-$pkgver.tar.xz
+ "
+
+_builddir="$srcdir"/libunique-$pkgver
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-dbus \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" -name '*.la' -delete
+}
+md5sums="a52dfbd0fee80f645b74227ade4f01ee libunique-3.0.2.tar.xz"