aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-04 18:10:35 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:41 +0200
commit38d99eb85b2a02b530fa499308e9d675ea228b96 (patch)
tree99942c60e8f3f443f61a8432f9fa9486b8555cf0
parentcd633f8586e2c70a12a7f6659f0e598fbf39ad34 (diff)
downloadpkgbuilds-38d99eb85b2a02b530fa499308e9d675ea228b96.tar.xz
Clean up PKGBUILDs
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD22
2 files changed, 15 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3c8b37a..0321cfa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by makepkg 4.2.1
-# Mon Jun 1 15:00:23 UTC 2015
+# Mon Jun 1 15:00:24 UTC 2015
pkgbase = j4-dmenu-desktop-git
pkgdesc = A rewrite of i3-dmenu-desktop, which is much faster
- pkgver = git
+ pkgver = r2.11.r9.gb4ce0c7
pkgrel = 1
url = https://github.com/enkore/j4-dmenu-desktop
arch = i686
@@ -13,7 +13,7 @@ pkgbase = j4-dmenu-desktop-git
depends = dmenu
provides = j4-dmenu-desktop
conflicts = j4-dmenu-desktop
- source = j4-dmenu-desktop-git::git://github.com/enkore/j4-dmenu-desktop
+ source = git+https://github.com/enkore/j4-dmenu-desktop
md5sums = SKIP
pkgname = j4-dmenu-desktop-git
diff --git a/PKGBUILD b/PKGBUILD
index 2d41b47..a52872f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,33 @@
-# Maintainer: Bill Kolokithas <kolokithas.b@gmail.com>
-
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
}