summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2016-01-07 19:13:26 +0100
committerMichel Zou2016-01-07 19:13:26 +0100
commit50d8a55d90ce4a8a3d8d1bb0f90c4f193b44408d (patch)
treedfbb0df0ec368b5a8580b4a732bc146def58ba92
downloadaur-50d8a55d90ce4a8a3d8d1bb0f90c4f193b44408d.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD27
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..70875384250
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Thu Jan 7 18:13:26 UTC 2016
+pkgbase = chronoengine
+ pkgdesc = C++ library for physics simulation
+ pkgver = 2.0.0
+ pkgrel = 1
+ url = http://projectchrono.org/chronoengine/
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = cmake
+ depends = gcc-libs
+ source = git+https://github.com/projectchrono/chrono.git#tag=2.0.0
+ sha1sums = SKIP
+
+pkgname = chronoengine
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..782239dc015
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+pkgname=chronoengine
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="C++ library for physics simulation"
+license=('custom')
+arch=('i686' 'x86_64')
+url="http://projectchrono.org/chronoengine/"
+depends=('gcc-libs')
+makedepends=('cmake')
+source=("git+https://github.com/projectchrono/chrono.git#tag=${pkgver}")
+sha1sums=('SKIP')
+
+build() {
+ cd chrono
+ mkdir -p build && pushd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_DEMOS=OFF \
+ -DBUILD_ADDITIONAL_TESTS=OFF \
+ ..
+ make
+}
+
+package() {
+ cd chrono/build
+ make DESTDIR="$pkgdir" install
+}
+