aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mate-notification-daemon/APKBUILD
blob: 6c8ff643646d3ad87eb9d0f3bc16d762e92e663a (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
42
43
44
45
46
47
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer:
pkgname=mate-notification-daemon
pkgver=1.9.1
pkgrel=0
pkgdesc="Small, passive popup dialogs that notify the user of particular events"
url="https://github.com/mate-desktop/mate-notification-daemon"
arch="all"
license="GPL2"
depends="mate-common"
depends_dev=""
makedepends="$depends_dev libwnck-dev libnotify-dev libtool intltool dbus-glib-dev
	libcanberra-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/1.9/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
	find "$pkgdir" -name \*.la -delete
}

md5sums="d16d7315cadf475dbee5c72492d418aa  mate-notification-daemon-1.9.1.tar.xz"
sha256sums="f00feeb38c56fdcabef5cc9a134a8e9da888033d20bdf60a7649c2f7b5160597  mate-notification-daemon-1.9.1.tar.xz"
sha512sums="71f5125e47d9b0c0ddb3a80302a3fc66f78c512b775413d2e550aa7b928aea064954a1744bfdad3d1217885fcfff73bd958cbbb3115924b5b282afae00a1b47a  mate-notification-daemon-1.9.1.tar.xz"