summaryrefslogtreecommitdiffstats
path: root/main/libunique
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-29 15:47:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-29 15:47:18 +0000
commit3acb14e008f0b7f56d5185eae23c452cf431e576 (patch)
treeeee89fe797b6aaa0767e3a6225f65231074b0641 /main/libunique
parent84c0d12c2c88d26659a209939f1316810a0b29ae (diff)
downloadaports-3acb14e008f0b7f56d5185eae23c452cf431e576.tar.bz2
aports-3acb14e008f0b7f56d5185eae23c452cf431e576.tar.xz
main/libunique: moved from testing
Diffstat (limited to 'main/libunique')
-rw-r--r--main/libunique/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/libunique/APKBUILD b/main/libunique/APKBUILD
new file mode 100644
index 000000000..59bd45083
--- /dev/null
+++ b/main/libunique/APKBUILD
@@ -0,0 +1,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"