aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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
+}