summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHåvard Pettersson2015-08-26 18:10:33 +0200
committerHåvard Pettersson2015-08-26 18:15:34 +0200
commitab7cfd6fbe21b1e2b7f57d9d84fd013d12efca80 (patch)
treedbc7516a7c5d7df0c584c30265505dac79c31aef
downloadaur-ab7cfd6fbe21b1e2b7f57d9d84fd013d12efca80.tar.gz
Initial commit.
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD39
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3c05f773827
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = dmenu-git
+ pkgdesc = A generic menu for X
+ pkgver = 4.5.21.bbf7b95
+ pkgrel = 1
+ url = http://tools.suckless.org/dmenu/
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = sh
+ depends = libxinerama
+ provides = dmenu
+ conflicts = dmenu
+ source = git://git.suckless.org/dmenu
+ md5sums = SKIP
+
+pkgname = dmenu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..571e6f58257
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Håvard Pettersson <mail@haavard.me>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor: Thorsten Töpper <atsutane-tu@freethoughts.de>
+# Contributor: Thayer Williams <thayer@archlinux.org>
+# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
+
+_pkgname=dmenu
+pkgname=$_pkgname-git
+pkgver=4.5.21.bbf7b95
+pkgrel=1
+pkgdesc="A generic menu for X"
+url="http://tools.suckless.org/dmenu/"
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('sh' 'libxinerama')
+makedepends=('git')
+provides=($_pkgname)
+conflicts=($_pkgname)
+source=(git://git.suckless.org/$_pkgname)
+md5sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname
+ echo 4.5.$(git rev-list 7f45b3f7a..@ --count).$(git rev-parse --short HEAD)
+}
+
+build(){
+ cd $_pkgname
+ make \
+ X11INC=/usr/include/X11 \
+ X11LIB=/usr/lib/X11
+}
+
+package() {
+ cd $_pkgname
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}