summaryrefslogtreecommitdiff
path: root/system/libnotify/APKBUILD
blob: a59730e1b91cc601a4e2632115d35aa7995e261a (plain) (blame)
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
29
30
31
32
33
34
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnotify
pkgver=0.7.7
pkgrel=1
pkgdesc="Desktop notification library"
url="http://library.gnome.org/devel/notification-spec/"
arch="all"
license="LGPL"
options="!check"  # Test suite requires running X11
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="dbus-dev"
makedepends="$depends_dev gdk-pixbuf-dev glib-dev autoconf automake
	gobject-introspection-dev"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--disable-tests
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="133874114407bf12267ef609f5941657181760bc7cf115c5973b1810cb72bf55072b621c143e32be1e7e8b49f244851925d14bc3f9f26457747b8a8695ee9954  libnotify-0.7.7.tar.xz"