diff options
author | somini | 2021-10-24 17:05:41 +0100 |
---|---|---|
committer | somini | 2021-10-24 17:05:41 +0100 |
commit | 67312b868398690fca0bb236af4173658535aae4 (patch) | |
tree | b767243318b64f27832b8f2d03c5c2bb6aa6533a | |
parent | 99f5695602f5ced9f540a53986ca7adae2ca518c (diff) | |
download | aur-67312b868398690fca0bb236af4173658535aae4.tar.gz |
Fix pgkver calculation
Thanks, gingkapls.
https://aur.archlinux.org/packages/bucklespring-libinput-git/#comment-831578
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = bucklespring-libinput-git pkgdesc = Nostalgia bucklespring keyboard sound, sampled from IBM's Model-M. libinput version pkgver = latest - pkgrel = 7 + pkgrel = 8 url = https://github.com/zevv/bucklespring arch = i686 arch = x86_64 @@ -4,7 +4,7 @@ pkgname=bucklespring-libinput-git _pkgname=bucklespring pkgver=latest -pkgrel=7 +pkgrel=8 pkgdesc="Nostalgia bucklespring keyboard sound, sampled from IBM's Model-M. libinput version" arch=('i686' 'x86_64') url="https://github.com/zevv/bucklespring" @@ -24,7 +24,7 @@ sha1sums=('SKIP' '26461f59226c610d54d3d6fb3824c537475cc8cd') pkgver() { - cd "$pkgname" + cd "$srcdir/$_pkgname" git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } |