aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/libnotify/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/main/libnotify/APKBUILD b/main/libnotify/APKBUILD
index 2765a4dff7..788d3b97f1 100644
--- a/main/libnotify/APKBUILD
+++ b/main/libnotify/APKBUILD
@@ -1,6 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnotify
pkgver=0.4.5
+pkgrel=1
pkgdesc="Desktop notification library"
url="http://www.galago-project.org/"
license="LGPL"
@@ -11,11 +12,16 @@ makedepends="pkgconfig dbus-glib-dev gtk+-dev gettext-dev libiconv-dev
source="http://www.galago-project.org/files/releases/source/$pkgname/$pkgname-$pkgver.tar.gz"
depends_dev="gtk+-dev glib-dev dbus-dev dbus-glib-dev"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+_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
}
md5sums="472e2c1f808848365572a9b024d9e8f5 libnotify-0.4.5.tar.gz"