diff options
author | huantian | 2021-07-04 12:38:13 -0700 |
---|---|---|
committer | huantian | 2021-07-04 12:38:13 -0700 |
commit | 2aa5b071e81ab4ff5df9dfcdb7b80d2876444f92 (patch) | |
tree | 048c3c790d82a69813a9ec042224a2bd625f628e | |
parent | 6491faa5a6b24024ef4f62ac06efd3cd4a57104e (diff) | |
download | aur-2aa5b071e81ab4ff5df9dfcdb7b80d2876444f92.tar.gz |
Fix pkgver
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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' } |