diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 5 insertions, 8 deletions
@@ -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 @@ -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() { |