diff options
author | Michal Wojdyla | 2024-03-17 23:49:54 +0100 |
---|---|---|
committer | Michal Wojdyla | 2024-03-17 23:49:54 +0100 |
commit | d83a79b06c6ed2d7ad991c4e2f18753e0148f2db (patch) | |
tree | 137883d0da7edc7bfca91e40888f8e5f26110c2d | |
parent | d3146333c63b2f7d9c0b8c6265b2fba63f0ef6f3 (diff) | |
download | aur-d83a79b06c6ed2d7ad991c4e2f18753e0148f2db.tar.gz |
add provides and pkgver
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 12 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = gridmgr-git pkgdesc = command line tool which provides keyboard-bindable commands for easy window manipulation. - pkgver = 1.0 - pkgrel = 3 + pkgver = r30.44be97c + pkgrel = 1 url = http://nickbp.com/gridmgr/ arch = i686 arch = x86_64 @@ -9,6 +9,7 @@ pkgbase = gridmgr-git makedepends = git makedepends = cmake depends = libxinerama + provides = gridmgr conflicts = gridmgr source = gridmgr-git::git+https://github.com/nickbp/gridmgr.git md5sums = SKIP @@ -1,17 +1,24 @@ +# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com > # Contributor: Arlo Siemsen <arkixml@gmail.com> pkgname=gridmgr-git -pkgver=1.0 -pkgrel=3 +pkgver=r30.44be97c +pkgrel=1 pkgdesc="command line tool which provides keyboard-bindable commands for easy window manipulation." arch=('i686' 'x86_64') url="http://nickbp.com/gridmgr/" license=('GPL') depends=('libxinerama') +provides=('gridmgr') conflicts=('gridmgr') makedepends=('git' 'cmake') source=("$pkgname::git+https://github.com/nickbp/gridmgr.git") md5sums=('SKIP') +pkgver() { + cd $pkgname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + build() { cd $pkgname cmake src |