aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-02-16 02:32:57 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:39 +0200
commit625cda571b4604068e3d66edd5a731ccc21f4506 (patch)
tree604787d6433d73b316bed70f7b1296b236814bcd /PKGBUILD
downloadpkgbuilds-625cda571b4604068e3d66edd5a731ccc21f4506.tar.xz
Dump...
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..1664d38
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Bill Kolokithas <kolokithas.b@gmail.com>
+
+pkgname=j4-dmenu-desktop-git
+pkgver=150.0a7f56c
+pkgrel=1
+pkgdesc="A rewrite of i3-dmenu-desktop, which is much faster"
+arch=('i686' 'x86_64')
+url="https://github.com/enkore/j4-dmenu-desktop"
+license=('GPL3')
+depends=('dmenu')
+makedepends=('git' 'cmake')
+provides=('j4-dmenu-desktop')
+conflicts=('j4-dmenu-desktop')
+source=("$pkgname::git://github.com/enkore/j4-dmenu-desktop")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd $pkgname
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DNO_TESTS=1 .
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR=$pkgdir/ install
+}