summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Saurel2016-07-28 10:24:06 +0200
committerGuilhem Saurel2016-07-28 10:24:06 +0200
commit9932c184f6f71c44da7d368dc029fff02f7fcd83 (patch)
tree9282986797cde5645ac2790c5d8606f76cc2c1f1
downloadaur-9932c184f6f71c44da7d368dc029fff02f7fcd83.tar.gz
initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD38
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..11c05f43572
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = pinocchio-git
+ pkgdesc = Dynamic computations using Spatial Algebra
+ pkgver = 1.1.2.r1010.50f3e32
+ pkgrel = 1
+ url = https://stack-of-tasks.github.io/pinocchio/
+ arch = i686
+ arch = x86_64
+ license = LGPL3 or any later version
+ makedepends = cmake
+ makedepends = gcc5
+ makedepends = git
+ depends = eigen
+ depends = boost-libs
+ depends = python2-numpy
+ optdepends = eigenpy
+ optdepends = metapod-git
+ optdepends = urdfdom
+ optdepends = lua51
+ conflicts = pinocchio
+ source = pinocchio-git::https://github.com/stack-of-tasks/pinocchio-git.git
+ md5sums = SKIP
+
+pkgname = pinocchio-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ca60d47e2d8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Guilhem Saurel <saurel@laas.fr>
+
+pkgname=pinocchio-git
+_pkgver=1.1.2
+pkgver=$_pkgver.r1010.50f3e32
+pkgrel=1
+pkgdesc="Dynamic computations using Spatial Algebra"
+arch=('i686' 'x86_64')
+url="https://stack-of-tasks.github.io/pinocchio/"
+license=('LGPL3 or any later version')
+depends=('eigen' 'boost-libs' 'python2-numpy')
+optdepends=('eigenpy' 'metapod-git' 'urdfdom' 'lua51')
+makedepends=('cmake' 'gcc5' 'git')
+conflicts=('pinocchio')
+source=("$pkgname"::"https://github.com/stack-of-tasks/$pkgname.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ echo "$_pkgver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "$pkgname"
+ git checkout devel
+ git submodule update
+}
+
+build() {
+ cd "$pkgname"
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS=-std=c++03 -DBUILD_UNIT_TESTS=OFF .
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir/" install
+}