🐛 Fixed git packages

This commit is contained in:
Edgar 2023-05-23 12:26:55 +00:00
parent 0c18d91440
commit ff406be5da
2 changed files with 14 additions and 6 deletions

View File

@ -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() {

View File

@ -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() {