summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonian Guveli2017-08-19 13:33:52 +0300
committerJonian Guveli2017-08-19 13:33:52 +0300
commit5d7f93eea6f58ba2389b2c4f3c0140d93d5ebccc (patch)
tree3f83159794c885fc0c0cefdb15a326ca684afd28
parent884c97f0fe43005d0876e2ce601b8da62129950e (diff)
downloadaur-5d7f93eea6f58ba2389b2c4f3c0140d93d5ebccc.tar.gz
update pkgver function
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 5 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d6ec7c776ec..232e153a40f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Aug 17 16:48:53 UTC 2017
+# Sat Aug 19 10:30:28 UTC 2017
pkgbase = kickoff-player-git
pkgdesc = Stream football matches and channels with acestream and sopcast
- pkgver = r155.6c6bac4
+ pkgver = 9.884c97f
pkgrel = 1
url = https://github.com/jonian/kickoff-player
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index fb7b8399eef..1dda83c807d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jonian Guveli <https://github.com/jonian/>
pkgname=kickoff-player-git
-pkgver=r155.6c6bac4
+pkgver=9.884c97f
pkgrel=1
pkgdesc="Stream football matches and channels with acestream and sopcast"
arch=("any")
@@ -13,11 +13,8 @@ source=("$pkgname::git+https://github.com/jonian/kickoff-player")
md5sums=("SKIP")
pkgver() {
- cd "$srcdir/$pkgname"
- ( set -o pipefail
- git describe --long 2>/dev/null | sed "s/\([^-]*-g\)/r\1/;s/-/./g" ||
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- )
+ cd "${srcdir}/${_pkgname}"
+ echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
package() {