updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / dmenu-history / PKGBUILD
blob01a3f3674b33820995f6a51a935ecbd0e67db475
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>
5 pkgname=dmenu-history
6 _pkgbasename=dmenu
7 pkgver=4.0
8 pkgrel=2
9 pkgdesc="Dynamic X menu. Patched with history support"
10 url="http://www.suckless.org/programs/dmenu.html"
11 arch=('i686' 'x86_64')
12 license=('MIT')
13 depends=('libx11' 'libxinerama')
14 provides=('dmenu')
15 conflicts=('dmenu')
16 makedepends=('xineramaproto')
17 source=(http://dl.suckless.org/tools/$_pkgbasename-$pkgver.tar.gz 
18         new_patch.diff)
19 md5sums=('66e761a653930cc8a21614ba9fedf903'
20          'a6f527e92471ca1ca745ab5d02edf23b')
23 build()
25   cd $srcdir/ #$_pkgbasename-$pkgver
26   patch -p0 < ../new_patch.diff || return 1
28   cd $_pkgbasename-$pkgver
29   ls
30   make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
31   echo 'compiled'
32   make PREFIX=/usr DESTDIR=$pkgdir install || return 1
34   #install license
35   install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE