updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dmenu-notify-git / PKGBUILD
blobeda828c2c1f426b81d2a3d1307cb30220ae0e6cb
1 # Maintainer: Steve Engledow <steve at offend dot me dot uk>
2 pkgname='dmenu-notify-git'
3 pkgver=0.1
4 pkgrel=3
5 pkgdesc="A fork of dmenu that includes features like eager matching of options and displaying notifications without a menu"
6 arch=('i686' 'x86_64')
7 url="https://github.com/stilvoid/dmenu"
8 license=('MIT')
9 depends=('libx11')
10 makedepends=('git')
11 provides=('dmenu')
12 conflicts=('dmenu')
14 build() {
15   cd "$srcdir"
17   if [ -d dmenu-notify ]; then
18     cd dmenu-notify
19     git checkout master
20     git pull
21   else
22     git clone git://github.com/stilvoid/dmenu.git dmenu-notify
23   fi
25   cd "$srcdir/dmenu-notify"
26   make || return 1
29 package() {
30   cd "$srcdir/dmenu-notify"
31   install -Dm644 ${srcdir}/dmenu-notify/LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
32   make MANPREFIX="$pkgdir/usr/share/man" PREFIX="$pkgdir/usr" install || return 1