aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnotify/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libnotify/APKBUILD')
-rw-r--r--main/libnotify/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/libnotify/APKBUILD b/main/libnotify/APKBUILD
new file mode 100644
index 0000000000..23d14e6753
--- /dev/null
+++ b/main/libnotify/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libnotify
+pkgver=0.5.2
+pkgrel=2
+pkgdesc="Desktop notification library"
+url="http://www.galago-project.org/"
+arch="all"
+license="LGPL"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=
+makedepends="dbus-glib-dev gtk+-dev"
+source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
+
+depends_dev="gtk+-dev glib-dev dbus-dev dbus-glib-dev"
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr --disable-static || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" -name '*.la' -delete
+}
+md5sums="4361058ae4e28a9ffce6764e7d03acd1 libnotify-0.5.2.tar.bz2"