summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsomini2021-10-24 17:05:41 +0100
committersomini2021-10-24 17:05:41 +0100
commit67312b868398690fca0bb236af4173658535aae4 (patch)
treeb767243318b64f27832b8f2d03c5c2bb6aa6533a
parent99f5695602f5ced9f540a53986ca7adae2ca518c (diff)
downloadaur-67312b868398690fca0bb236af4173658535aae4.tar.gz
Fix pgkver calculation
Thanks, gingkapls. https://aur.archlinux.org/packages/bucklespring-libinput-git/#comment-831578
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 41cf17781f32..5e93888125f4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 7957ccda4973..ae7b8fb23860 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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'
}