diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = xbindkeys-git pkgdesc = xbindkeys is a program that allows you to launch shell commands with your keyboard or your mouse under X Windows - pkgver = git - pkgrel = 1 + pkgver = v1.8.7.r1.g75909d9 + pkgrel = 2 url = https://www.nongnu.org/xbindkeys/xbindkeys.html arch = any license = GPL2 @@ -1,7 +1,7 @@ # Maintainer: Steve Engledow <steve@offend.me.uk> pkgname=xbindkeys-git -pkgver=git -pkgrel=1 +pkgrel=2 +pkgver=v1.8.7.r1.g75909d9 pkgdesc='xbindkeys is a program that allows you to launch shell commands with your keyboard or your mouse under X Windows' url='https://www.nongnu.org/xbindkeys/xbindkeys.html' arch=(any) @@ -18,6 +18,11 @@ source=('git+https://git.savannah.nongnu.org/git/xbindkeys.git') sha256sums=('SKIP') provides=('xbindkeys') +pkgver() { + cd xbindkeys + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + build() { cd xbindkeys ./configure --prefix=/usr |