pkgname=j4-dmenu-desktop-git pkgver=2.12.r8.g0c4e8f0 pkgrel=1 pkgdesc="A rewrite of i3-dmenu-desktop, which is much faster" url="https://github.com/enkore/j4-dmenu-desktop" arch=('i686' 'x86_64') license=('GPL3') depends=('dmenu') makedepends=('git' 'cmake') provides=('j4-dmenu-desktop') conflicts=('j4-dmenu-desktop') source=('git+https://github.com/enkore/j4-dmenu-desktop') md5sums=('SKIP') pkgver() { cd j4-dmenu-desktop git describe --long --always | sed -E 's/^r//;s/([^-]*-g)/r\1/;s/-/./g' } build() { cd j4-dmenu-desktop cmake -DCMAKE_INSTALL_PREFIX=/usr -DNO_TESTS=1 . make } package() { cd j4-dmenu-desktop make DESTDIR="$pkgdir" install }