diff options
author | Michel Zou | 2016-01-07 19:13:26 +0100 |
---|---|---|
committer | bartus | 2019-04-03 19:31:05 +0200 |
commit | 384b669452b0e87fa9b804b55e9d7683f4b0f229 (patch) | |
tree | dfbb0df0ec368b5a8580b4a732bc146def58ba92 | |
parent | 8f55696f32f352e96f5f97227070e8bc14aa9504 (diff) | |
download | aur-384b669452b0e87fa9b804b55e9d7683f4b0f229.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 8 insertions, 18 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Thu Jan 7 19:16:07 UTC 2016 -pkgbase = chronoengine-git +# Thu Jan 7 18:13:26 UTC 2016 +pkgbase = chronoengine pkgdesc = C++ library for physics simulation - pkgver = r5341.96806cd + pkgver = 2.0.0 pkgrel = 1 url = http://projectchrono.org/chronoengine/ arch = i686 @@ -10,10 +10,8 @@ pkgbase = chronoengine-git license = custom makedepends = cmake depends = gcc-libs - provides = chronoengine - conflicts = chronoengine - source = git+https://github.com/projectchrono/chrono.git + source = git+https://github.com/projectchrono/chrono.git#tag=2.0.0 sha1sums = SKIP -pkgname = chronoengine-git +pkgname = chronoengine @@ -1,5 +1,5 @@ -pkgname=chronoengine-git -pkgver=r5341.96806cd +pkgname=chronoengine +pkgver=2.0.0 pkgrel=1 pkgdesc="C++ library for physics simulation" license=('custom') @@ -7,21 +7,13 @@ arch=('i686' 'x86_64') url="http://projectchrono.org/chronoengine/" depends=('gcc-libs') makedepends=('cmake') -conflicts=("chronoengine") -provides=("chronoengine") -source=("git+https://github.com/projectchrono/chrono.git") +source=("git+https://github.com/projectchrono/chrono.git#tag=${pkgver}") sha1sums=('SKIP') -pkgver() { - cd chrono - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - build() { cd chrono mkdir -p build && pushd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DBUILD_DEMOS=OFF \ -DBUILD_ADDITIONAL_TESTS=OFF \ .. |