summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9a4f0c2247b..b6090b50dd2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=mps-youtube-git
-pkgver=0.2.8.develop
+pkgver=0.2.8.r100.g881dfe7
pkgrel=1
pkgdesc="Terminal based YouTube jukebox with playlist management - git develop release"
@@ -21,6 +21,11 @@ source=('git+https://github.com/mps-youtube/mps-youtube.git')
md5sums=('SKIP')
+pkgver() {
+ cd mps-youtube
+ git describe --tags --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
package() {
cd mps-youtube
python setup.py install --root="$pkgdir" --optimize=1