summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortritonas002015-12-28 04:25:52 +0200
committertritonas002015-12-28 04:25:52 +0200
commit6bdf1f542189c29328fa016f7e1b5b41002a3607 (patch)
tree231c10fad56f6ab221d4e872f3234698d63e252f
parent06149271f67bc1cb384363da9807e9181b977567 (diff)
downloadaur-6bdf1f542189c29328fa016f7e1b5b41002a3607.tar.gz
added pkgver function/removed boost
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD11
2 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 19ac7fb6f8c..03a1ae1d02a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
+# Generated by mksrcinfo v8
+# Mon Dec 28 02:25:16 UTC 2015
pkgbase = rigsofrods-git
pkgdesc = An open source vehicle simulator based on soft-body physics
- pkgver = LATEST
- pkgrel = 4
+ pkgver = 0.4.5.1.r90.g9cdb194
+ pkgrel = 1
url = http://rigsofrods.com
arch = i686
arch = x86_64
license = GPL
- makedepends = boost
makedepends = cmake
makedepends = git
depends = angelscript-2.22.1
diff --git a/PKGBUILD b/PKGBUILD
index c0427d5581d..3974d4d3e5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,14 +5,14 @@ _pkgname=rigsofrods
_gitname=rigs-of-rods
pkgname=$_pkgname-git
-pkgver=LATEST
-pkgrel=4
+pkgver=0.4.5.1.r90.g9cdb194
+pkgrel=1
pkgdesc="An open source vehicle simulator based on soft-body physics"
arch=('i686' 'x86_64')
url="http://rigsofrods.com"
license=('GPL')
depends=('angelscript-2.22.1' 'openal' 'wxgtk' 'ogre' 'caelum-git' 'mygui' 'ogre-pagedgeometry-git' 'socketw')
-makedepends=('boost' 'cmake' 'git')
+makedepends=('cmake' 'git')
replaces=('rigsofrods-hg')
conflicts=('rigsofrods' 'rigsofrods-hg')
provides=('rigsofrods')
@@ -28,6 +28,11 @@ sha512sums=('SKIP'
'b0c04df93fa622d27ba485df1253ee786ebe42acb2c7b2f5d9657f22623503ee995845905f782c7b550625a4db0dbfdd924e4757b2daf21f84bb9cb3f6d683af'
)
+pkgver() {
+ cd "$srcdir/$_gitname"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
build() {
cd "$srcdir/$_gitname"