fix source pkgbuild
This commit is contained in:
parent
e275e29fd8
commit
dc99db3efe
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: wirlaburla <wirlaburla@worlio.com>
|
# Maintainer: wirlaburla <wirlaburla@worlio.com>
|
||||||
|
|
||||||
pkgname=trakker-git
|
pkgname=trakker-git
|
||||||
pkgver=0.2.2.0
|
pkgver=0.3.0.r1.ge275e29
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc=''
|
pkgdesc=''
|
||||||
arch=('x86_64' 'aarch64')
|
arch=('x86_64' 'aarch64')
|
||||||
|
@ -16,7 +16,7 @@ sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd $pkgname
|
cd $pkgname
|
||||||
git describe --long --tags | cut -d- -f1-2 | sed "s/-/\./"
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user