🐛 Fixed git packages
This commit is contained in:
parent
0c18d91440
commit
ff406be5da
@ -1,10 +1,10 @@
|
||||
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
|
||||
|
||||
pkgname=ogre-caelum-git
|
||||
pkgver=0.6.3.r38.g7763bff
|
||||
pkgver=0.6.4.4bd1b05
|
||||
pkgrel=1
|
||||
pkgdesc="Library for OGRE targeted at helping to create nice-looking atmospheric effects."
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('i686' 'amd64')
|
||||
url="https://ogrecave.github.io/ogre-caelum/"
|
||||
depends=('ogre')
|
||||
makedepends=('cmake' 'git')
|
||||
@ -16,7 +16,11 @@ sha512sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd ${srcdir}/ogre-caelum
|
||||
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
|
||||
_ver=$(grep -oP ' VERSION ([0-9]\.[0-9]\.[0-9])' "CMakeLists.txt" | awk '{print $2;}')
|
||||
_gitcommit=$(git rev-parse --short HEAD)
|
||||
|
||||
echo $_ver.$_gitcommit
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -1,10 +1,10 @@
|
||||
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
|
||||
|
||||
pkgname=ogre-pagedgeometry-git
|
||||
pkgver=1.2.0.r59.g95194bc
|
||||
pkgver=1.3.0.30965c8
|
||||
pkgrel=1
|
||||
pkgdesc="Paged Geometry plugin for OGRE for fast rendering of trees and grass."
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('i686' 'amd64')
|
||||
url="https://ogrecave.github.io/ogre-pagedgeometry/"
|
||||
license=('MIT')
|
||||
depends=('ogre')
|
||||
@ -16,7 +16,11 @@ sha512sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd ${srcdir}/ogre-pagedgeometry
|
||||
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
|
||||
_ver=$(grep -oP ' VERSION ([0-9]\.[0-9]\.[0-9])' "CMakeLists.txt" | awk '{print $2;}')
|
||||
_gitcommit=$(git rev-parse --short HEAD)
|
||||
|
||||
echo $_ver.$_gitcommit
|
||||
}
|
||||
|
||||
build() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user