correct pkgver generation
This commit is contained in:
parent
8dba68a9d9
commit
a50277e3f6
2 changed files with 3 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = libplatform-git
|
pkgbase = libplatform-git
|
||||||
pkgdesc = Platform support library used by libCEC and binary add-ons for Kodi
|
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
|
pkgrel = 1
|
||||||
url = https://github.com/Pulse-Eight/platform
|
url = https://github.com/Pulse-Eight/platform
|
||||||
arch = i686
|
arch = i686
|
||||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
||||||
|
|
||||||
pkgname=libplatform-git
|
pkgname=libplatform-git
|
||||||
pkgver=1.0.9
|
pkgver=1.0.10.r4.g278828a
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi"
|
pkgdesc="Platform support library used by libCEC and binary add-ons for Kodi"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
@ -15,7 +15,7 @@ md5sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$srcdir"/libplatform
|
cd "$srcdir"/libplatform
|
||||||
git describe --tags
|
git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
Loading…
Reference in a new issue