summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbeelzebud2021-08-31 05:42:06 -0500
committerbeelzebud2021-08-31 05:42:06 -0500
commitad840c5b063bb0d2f072a4f8d81b723e9323f2c1 (patch)
treeed40d3f4e46808d483e42b24fdc4fee4da88ce77 /PKGBUILD
parent9c93698a11b21f849287d14b1f6075c1ae0706ba (diff)
downloadaur-ad840c5b063bb0d2f072a4f8d81b723e9323f2c1.tar.gz
fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1fb02f16878..721d4226516 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=vgtranslate
pkgname=vgtranslate-git
-pkgver=r66.1b68c26
+pkgver=66.1b68c26
pkgrel=1
pkgdesc="VgTranslate service for retroarch"
arch=('any')
@@ -15,13 +15,14 @@ makedepends=('git' 'python-setuptools' 'python2-setuptools')
source=("$pkgname"::'git+https://gitlab.com/spherebeaker/vgtranslate.git')
md5sums=('SKIP')
-pkgver() {
- cd "$pkgname"
- git describe --long | sed "s/\([^-]*-g\)/r\1/;s/-/./g"
+pkgver()
+{
+ cd $pkgname
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "$srcdir/$pkgname"
+ cd "$pkgname"
python2 setup.py build
}