aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-notifyd/APKBUILD
blob: 1fd621607062f23e5774e8ff464fbafbf782507b (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
40
41
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-notifyd
pkgver=0.3.5
pkgrel=0
pkgdesc="notification daemon for the xfce desktop"
url="http://spuriousinterrupt.org/projects/xfce4-notifyd"
arch="all"
license="GPL2"
depends="hicolor-icon-theme"
makedepends="gtk+-dev libxfce4util libxfce4ui-dev libsexy-dev xfconf-dev
	dbus-glib-dev libglade-dev libnotify-dev"
install=
subpackages="$pkgname-lang $pkgname-doc"
source="http://archive.xfce.org/src/apps/xfce4-notifyd/${pkgver%.*}/xfce4-notifyd-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
}

build () { 
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="292d5e3ef5358195136592b7b51b893fff03f597cb2bf05ecffd58733e6d130f135d86aa9e3453490eeae2096f3cde9a11627ee074a35d4e1f3a2488a706d10e  xfce4-notifyd-0.3.5.tar.bz2"