summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinex-dsk2020-07-14 21:40:19 -0400
committerbinex-dsk2020-07-14 21:40:19 -0400
commit8e8faf4359ddeb38eb4cdfb2a840ecbe6181e563 (patch)
tree867edbccfe9743ec93705238f85448b0d0e2feec
parent6640fc18e4a98336690088d712fb3a4d9aae35f7 (diff)
downloadaur-8e8faf4359ddeb38eb4cdfb2a840ecbe6181e563.tar.gz
versioning was kinda glitchy, fixed it
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b06411ff2f9d..a2b3c0b5890a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,8 +12,8 @@ depends=('shc')
md5sums=('ff7a69ed5fc64db79bc1a466946d96f2')
pkgver() {
- git clone "${url}.git"
- cd "$reponame"
+ git clone "${url}.git" getver
+ cd "getver"
git describe --tags | sed 's/-/.r/;s/-/./'
}