correct pkgver generation

This commit is contained in:
Cedric Girard 2015-07-29 16:24:25 +02:00
parent 8dba68a9d9
commit a50277e3f6
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pkgbase = libplatform-git
pkgdesc = Platform support library used by libCEC and binary add-ons for Kodi
pkgver = 1.0.9
pkgver = 1.0.10.r4.g278828a
pkgrel = 1
url = https://github.com/Pulse-Eight/platform
arch = i686

View file

@ -1,7 +1,7 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=libplatform-git
pkgver=1.0.9
pkgver=1.0.10.r4.g278828a
pkgrel=1
pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi"
arch=('i686' 'x86_64')
@ -15,7 +15,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir"/libplatform
git describe --tags
git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {