summaryrefslogtreecommitdiff
path: root/community/dmenu/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dmenu/PKGBUILD')
-rw-r--r--community/dmenu/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/dmenu/PKGBUILD b/community/dmenu/PKGBUILD
new file mode 100644
index 000000000..22286ce10
--- /dev/null
+++ b/community/dmenu/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 32958 2010-11-20 11:22:07Z ttopper $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
+# Contributor: Thayer Williams <thayer@archlinux.org>
+# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
+
+pkgname=dmenu
+pkgver=4.2.1
+pkgrel=1
+pkgdesc="A generic menu for X"
+url="http://tools.suckless.org/dmenu/"
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('sh' 'libxinerama')
+#source=("http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::http://hg.suckless.org/dmenu/archive/tip.tar.gz")
+md5sums=('48b1e63cbf0ae7993cc68d365412d5e5')
+
+build(){
+# cd $srcdir/$pkgname-$pkgver
+ cd `find $srcdir -type d -name dmenu-\*`
+ make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
+}
+
+package() {
+# cd $srcdir/$pkgname-$pkgver
+ cd `find $srcdir -type d -name dmenu-\*`
+ make PREFIX=/usr DESTDIR=$pkgdir install
+ install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}