# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-notification-daemon
pkgver=1.28.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-or-later"
depends="mate-common"
makedepends="libwnck3-dev libnotify-dev libtool intltool
	libcanberra-dev gtk+3.0-dev libxml2-dev libxau-dev mate-desktop-dev
	mate-panel-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-notification-daemon-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="
dba0989945b81ff0fed5e77ac8ef7c96bf52ee854c9dc0f46549697e0d0537a8ff4a9491839076768443cc62140d1dfbf911aee489ab568c2975b67c52c78d2e  mate-notification-daemon-1.28.0.tar.xz
"
