summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorInochi Amaoto2019-03-18 13:54:03 +0800
committerInochi Amaoto2019-03-18 13:54:03 +0800
commit26365c5c251b52dde6c5c10da9f20abb3801ceba (patch)
tree41497679156bae879c9a5523295ea414d29e1cdd
parent11314cdf83222bfa572cae8c9b51940052af890e (diff)
downloadaur-26365c5c251b52dde6c5c10da9f20abb3801ceba.tar.gz
fix version tag
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e3672ba472fc..59456b1e6957 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mpv-full-build-git
pkgdesc = Video player based on MPlayer/mplayer2 with all possible libs (uses statically linked ffmpeg with all possible libs). (GIT version )
- pkgver = v0.29.0.282.gfcb320fd3f
+ pkgver = 0.29.0.r282.gfcb320fd3f
pkgrel = 1
url = http://mpv.io
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 50d614ab81ec..3eaaa40a0010 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Inochi Amaoto <libraryindexsky@gmail.com>
pkgname=mpv-full-build-git
-pkgver=v0.29.0.282.gfcb320fd3f
+pkgver=0.29.0.r282.gfcb320fd3f
pkgrel=1
pkgdesc="Video player based on MPlayer/mplayer2 with all possible libs (uses statically linked ffmpeg with all possible libs). (GIT version )"
arch=('x86_64')
@@ -167,7 +167,7 @@ fi
pkgver() {
cd mpv
- echo "$(git describe --long --tags | tr - .)"
+ git describe --tags | sed 's/v\(.*\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {