blob: bb1bff538aab26016dd7223bb40b59cc177593af (
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
36
37
38
39
|
# 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"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.a "$pkgdir"/usr/lib/*.la
}
md5sums="2cd77326d4dcaed9a5a23a1232fb38e9 startup-notification-0.12.tar.gz"
|