aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnotify/APKBUILD
blob: 156a14901e31bd0f5ba7dcfd8115b95e07940217 (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
29
30
31
32
33
34
35
# 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"
options="!check"  # Test requires X11.
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="gdk-pixbuf-dev glib-dev dbus-dev"
makedepends="$depends_dev gtk+3.0-dev autoconf automake"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz
	skip-tests.patch"

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
76e64bc536dbb3a38f26cdb579f9e97949591559d827380c9e42e89af0a3d4f27804fae0a6c7749efee91f71eb0dcc131c137d7971fedd944216d3a5ebbc17c8  skip-tests.patch"