aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-notification-daemon/APKBUILD
blob: ead21714a5dd6ef617ae914ca705f6b5906f9b5b (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-notification-daemon
pkgver=1.21.0
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="GPL-2.0"
depends="mate-common"
makedepends="libwnck3-dev libnotify-dev libtool intltool dbus-glib-dev
	libcanberra-dev gtk+3.0-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

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

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

package() {
	cd "$builddir"
	make DESTDIR="${pkgdir}" install
}

sha512sums="4efb563ade3d02f8aa3f5b691ee6bdf480a3627b2421869fa4cd606e828dc27f82d2f1af7f5e9c9dc3b77c34c9adbbb51ba4ab19310c72476ec8f4e8702b603b  mate-notification-daemon-1.21.0.tar.xz"