fix pkgver
This commit is contained in:
parent
3497cae854
commit
9d77faaf46
5
PKGBUILD
5
PKGBUILD
|
@ -4,7 +4,8 @@ pkgdesc='Nintendo DS emulator'
|
|||
url='http://desmume.org/'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
pkgver=0.9.11.r800.e29e825d
|
||||
_relver=0.9.11
|
||||
pkgver=${_relver}.r800.e29e825d
|
||||
pkgrel=2
|
||||
depends=('gtkglext'
|
||||
'libglade'
|
||||
|
@ -29,7 +30,7 @@ _builddir="${_pkgname}/src/frontend/posix"
|
|||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${_pkgname}"
|
||||
git describe --long | sed 's/v//;s/-/./g'
|
||||
echo ${_relver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
||||
}
|
||||
|
||||
prepare(){
|
||||
|
|
Loading…
Reference in New Issue
Block a user