aboutsummaryrefslogtreecommitdiffstats
path: root/main/startup-notification/APKBUILD
blob: 4111bce7ff681d6929a6a6f819334eac8bac0b17 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=startup-notification
pkgver=0.12
pkgrel=2
pkgdesc="Monitor and display application startup"
url="http://www.freedesktop.org"
arch="all"
license="LGPL"
subpackages="$pkgname-dev"
depends=
makedepends="libx11-dev libsm-dev xcb-util-dev"
source="http://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz"

depends_dev="libsm-dev xcb-util-dev"
build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--localstatedir=/var \
		--sysconfdir=/etc \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.a "$pkgdir"/usr/lib/*.la
}
md5sums="2cd77326d4dcaed9a5a23a1232fb38e9  startup-notification-0.12.tar.gz"