aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnotify/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-29 08:23:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-29 08:23:51 +0000
commite1dd91a41a8d64bac7d3cbbb6e9cccfc50ee1e21 (patch)
treeed31ad9e37ae52fb6e76405d840532100ba1bb82 /main/libnotify/APKBUILD
parent1896fc4bcc63942ea2c47f8314fcbaf2c59695df (diff)
downloadaports-e1dd91a41a8d64bac7d3cbbb6e9cccfc50ee1e21.tar.bz2
aports-e1dd91a41a8d64bac7d3cbbb6e9cccfc50ee1e21.tar.xz
main/libnotify: rebuild against libpng-1.4
Diffstat (limited to 'main/libnotify/APKBUILD')
-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"