# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=dunst
pkgver=1.3.0
pkgrel=0
pkgdesc="A customizable and lightweight notification-daemon"
url="http://knopwob.org/dunst/"
arch="all"
license="BSD"
makedepends="libxscrnsaver-dev libxdg-basedir-dev libxft-dev
	libxinerama-dev dbus-dev freetype-dev glib-dev pango-dev
	cairo-dev gtk+2.0-dev libxrandr-dev"
subpackages="$pkgname-doc"
source="http://knopwob.org/public/dunst-release/$pkgname-$pkgver.tar.bz2"
source="$pkgname-$pkgver.tar.gz::https://github.com/dunst-project/dunst/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

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

build() {
	cd "$builddir"
	make
}

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

sha512sums="37933492d75a20223fec1caaa62a6cfcce320dda63fdfa81324a0e1299a6ac9fd9e56808a13bc3d6751f06d327bf4407d374dd98eda0acd7e324b6f451e40ca9  dunst-1.3.0.tar.gz"
