summaryrefslogtreecommitdiffstats
path: root/main/libnotify/APKBUILD
blob: 23d14e6753aaa74f41815dc44e3a774fea941d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"