aboutsummaryrefslogtreecommitdiffstats
path: root/main/startup-notification/APKBUILD
blob: 54645173d40011969a833937ba1e975ce190c22a (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
35
36
37
38
39
40
41
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=startup-notification
pkgver=0.12
pkgrel=3
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="https://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.gz"

depends_dev="libsm-dev xcb-util-dev"

prepare() {
	cd "$builddir"
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--localstatedir=/var \
		--sysconfdir=/etc
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="ea1246acdb50dafd9ced9914ec3c8f0d499c0ca3cfd447b43a444c768a6e9ea7135e5c42d9ca0089354698ac235bd86d42f12c70a3a17c9c79f998c07461f7ab  startup-notification-0.12.tar.gz"