1 # $Id: PKGBUILD 77290 2010-04-11 20:17:06Z thayer $
2 # Maintainer: Thayer Williams <thayer@archlinux.org>
3 # Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
9 pkgdesc="Dynamic X menu. Patched with history support"
10 url="http://www.suckless.org/programs/dmenu.html"
11 arch=('i686' 'x86_64')
13 depends=('libx11' 'libxinerama')
16 makedepends=('xineramaproto')
17 source=(http://dl.suckless.org/tools/$_pkgbasename-$pkgver.tar.gz
19 md5sums=('66e761a653930cc8a21614ba9fedf903'
20 'a6f527e92471ca1ca745ab5d02edf23b')
25 cd $srcdir/ #$_pkgbasename-$pkgver
26 patch -p0 < ../new_patch.diff || return 1
28 cd $_pkgbasename-$pkgver
30 make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
32 make PREFIX=/usr DESTDIR=$pkgdir install || return 1
35 install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE