summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhuantian2021-07-04 12:38:13 -0700
committerhuantian2021-07-04 12:38:13 -0700
commit2aa5b071e81ab4ff5df9dfcdb7b80d2876444f92 (patch)
tree048c3c790d82a69813a9ec042224a2bd625f628e
parent6491faa5a6b24024ef4f62ac06efd3cd4a57104e (diff)
downloadaur-2aa5b071e81ab4ff5df9dfcdb7b80d2876444f92.tar.gz
Fix pkgver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 88f9ef5bfd8..d5d1b5061b0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pax-mc-git
pkgdesc = The MC modpack manager for professionals. VSC version.
pkgver = 1.6.0.r0.g42bdf30
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/froehlicha/pax
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 1ec85073d88..2992d4d6212 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: David Li <davidtianli@gmail.com>
pkgname=pax-mc-git
pkgver=1.6.0.r0.g42bdf30
-pkgrel=1
+pkgrel=2
pkgdesc="The MC modpack manager for professionals. VSC version."
arch=('x86_64')
url="https://github.com/froehlicha/pax"
@@ -15,7 +15,7 @@ source=("git+https://github.com/froehlichA/pax.git")
sha256sums=('SKIP')
pkgver() {
- cd "${pkgname}"
+ cd "pax"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}