summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Palenzuela2019-06-28 21:10:58 +0200
committerManuel Palenzuela2019-06-28 21:10:58 +0200
commitfe901ffa178c7ddb8d2fa4e372c1d2c4202f4da9 (patch)
tree414a279654bdc6c844b3ea2d02150afca11806d6
parent5b85381c7dd2da393a8b4dd53950b990ed4e50f6 (diff)
downloadaur-fe901ffa178c7ddb8d2fa4e372c1d2c4202f4da9.tar.gz
Fixed PKGBUILD
-rw-r--r--PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 869d1b1a9bb..c3e4766be24 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,10 +21,9 @@ sha1sums=('SKIP')
sha256sums=('SKIP')
pkgver() {
- cd "$srcdir/$_gitname"
-
- # Get the version number.
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "$_gitname"
+ printf '0.r%s.%s' \
+ "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {