🐛 Fixed git packages
This commit is contained in:
		| @@ -1,10 +1,10 @@ | |||||||
| # Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com> | # Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com> | ||||||
|  |  | ||||||
| pkgname=ogre-caelum-git | pkgname=ogre-caelum-git | ||||||
| pkgver=0.6.3.r38.g7763bff | pkgver=0.6.4.4bd1b05 | ||||||
| pkgrel=1 | pkgrel=1 | ||||||
| pkgdesc="Library for OGRE targeted at helping to create nice-looking atmospheric effects." | 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/" | url="https://ogrecave.github.io/ogre-caelum/" | ||||||
| depends=('ogre') | depends=('ogre') | ||||||
| makedepends=('cmake' 'git') | makedepends=('cmake' 'git') | ||||||
| @@ -16,7 +16,11 @@ sha512sums=('SKIP') | |||||||
|  |  | ||||||
| pkgver() { | pkgver() { | ||||||
|   cd ${srcdir}/ogre-caelum |   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() { | build() { | ||||||
|   | |||||||
| @@ -1,10 +1,10 @@ | |||||||
| # Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com> | # Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com> | ||||||
|  |  | ||||||
| pkgname=ogre-pagedgeometry-git | pkgname=ogre-pagedgeometry-git | ||||||
| pkgver=1.2.0.r59.g95194bc | pkgver=1.3.0.30965c8 | ||||||
| pkgrel=1 | pkgrel=1 | ||||||
| pkgdesc="Paged Geometry plugin for OGRE for fast rendering of trees and grass." | 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/" | url="https://ogrecave.github.io/ogre-pagedgeometry/" | ||||||
| license=('MIT') | license=('MIT') | ||||||
| depends=('ogre') | depends=('ogre') | ||||||
| @@ -16,7 +16,11 @@ sha512sums=('SKIP') | |||||||
|  |  | ||||||
| pkgver() { | pkgver() { | ||||||
|   cd ${srcdir}/ogre-pagedgeometry |   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() { | build() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user