summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authordiddypod2019-04-09 19:19:36 +0530
committerdiddypod2019-04-09 19:19:36 +0530
commitec1767874d06bcc737d5f14341b63246aa27be79 (patch)
treef9fb9c554847b6f183fe13532a28f05c99b14e21 /PKGBUILD
parent9119c0cf54ca4b65f926b62a679b0a145044d2e7 (diff)
downloadaur-ec1767874d06bcc737d5f14341b63246aa27be79.tar.gz
Update pkgver()
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