summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bbd69891fc6..15f9623409b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vgtranslate-git
pkgdesc = VgTranslate service for retroarch
- pkgver = r66.1b68c26
+ pkgver = 66.1b68c26
pkgrel = 1
url = http://gitlab.com/spherebeaker/vgtranslate
arch = any
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
}