From 38d99eb85b2a02b530fa499308e9d675ea228b96 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 4 Aug 2014 18:10:35 +0200 Subject: Clean up PKGBUILDs --- PKGBUILD | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 2d41b47..a52872f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,31 +1,33 @@ -# Maintainer: Bill Kolokithas - pkgname=j4-dmenu-desktop-git -pkgver=git +pkgver=r2.11.r9.gb4ce0c7 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" +arch=('i686' 'x86_64') license=('GPL3') + depends=('dmenu') makedepends=('git' 'cmake') + provides=('j4-dmenu-desktop') conflicts=('j4-dmenu-desktop') -source=("$pkgname::git://github.com/enkore/j4-dmenu-desktop") + +source=('git+https://github.com/enkore/j4-dmenu-desktop') md5sums=('SKIP') pkgver() { - cd $pkgname - echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) + cd j4-dmenu-desktop + git describe | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' } build() { - cd $pkgname + cd j4-dmenu-desktop cmake -DCMAKE_INSTALL_PREFIX=/usr -DNO_TESTS=1 . make } package() { - cd $pkgname - make DESTDIR=$pkgdir/ install + cd j4-dmenu-desktop + make DESTDIR="$pkgdir" install } -- cgit v1.2.3-70-g09d2