summaryrefslogtreecommitdiff
path: root/community/dunst/PKGBUILD
blob: 33337133bffd20a6a7fd60e1025d16aa4f62e7d1 (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
$Id: PKGBUILD 76730 2012-09-28 03:35:52Z dwallace $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: feuri

pkgname=dunst
pkgver=0.4.0
pkgrel=1
pkgdesc="a dmenu-ish notification system "
arch=('i686' 'x86_64')
url="http://knopwob.github.com/dunst"
license=(MIT)
depends=(dbus-core libxinerama libxft libxss libxdg-basedir)
makedepends=('git' 'perl')
optdepends=('libnotify: dunst is able to listen to notifications from libnotify')
provides=(notification-daemon)
source=("${pkgname}-${pkgver}.tar.bz2::http://www.knopwob.org/public/dunst-release/$pkgname-$pkgver.tar.bz2")
md5sums=('615b673011222f6ab6f5df28def329a9')

build() {
	cd "${srcdir}/$pkgname-$pkgver"
	
	make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}

package() {
	cd "${srcdir}/$pkgname-$pkgver"

	make DESTDIR="${pkgdir}" PREFIX=/usr install

	install -Dm644 "${srcdir}/$pkgname-$pkgver/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et: