updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / dmenu-tok-patch / PKGBUILD
blobf97df27b0100042fabbabac7e37a67c8f31ed474
1 # Maintainer: StephenB <mail4stb at gmail .com>
3 _pkgname=dmenu
4 pkgname=dmenu-tok-patch
5 pkgver=4.2.1
6 pkgrel=1
7 pkgdesc="dmenu patched to use space separated tokens to match menu items (xmms like pattern matching)"
8 url="http://tools.suckless.org/dmenu/patches/xmms-like_pattern_matching"
9 arch=('i686' 'x86_64')
10 license=('MIT')
11 depends=('sh' 'libxinerama')
12 provides=("dmenu")
13 conflicts=("dmenu")
14 source=("http://tools.suckless.org/dmenu/patches/dmenu-$pkgver-tok.diff"
15         "http://dl.suckless.org/tools/$_pkgname-$pkgver.tar.gz")
16 md5sums=('88404d690c989993ad57593e532410a1'
17          '5c95f974fa0c723f46838d0d5fbf5aca')
19 build(){
20   cd $srcdir/$_pkgname-$pkgver
22   patch -p1 -i "../dmenu-$pkgver-tok.diff"
24   make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
27 package() {
28   cd $srcdir/$_pkgname-$pkgver
29   make PREFIX=/usr DESTDIR=$pkgdir install
31   #install license
32   install -m644 -D LICENSE $pkgdir/usr/share/licenses/$_pkgname/LICENSE