summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGuilhem Saurel2016-07-28 13:00:27 +0200
committerGuilhem Saurel2016-07-28 13:00:27 +0200
commit348acc6cd56c3299d99eb2a98a0fe4337fbfe252 (patch)
tree59f9a6956e8898ffbed2b4ebad13992a6cab1558 /PKGBUILD
parentfeb1227993c3c189c835064ddb64a733858572aa (diff)
downloadaur-348acc6cd56c3299d99eb2a98a0fe4337fbfe252.tar.gz
install in /usr/lib
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 946a7ff8bfc..6532f10b570 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _pkgname=pinocchio
_pkgver=1.1.2
pkgname=${_pkgname}-git
pkgver=${_pkgver}.r1010.50f3e32
-pkgrel=1
+pkgrel=2
pkgdesc="Dynamic computations using Spatial Algebra"
arch=('i686' 'x86_64')
url="https://stack-of-tasks.github.io/pinocchio/"
@@ -13,7 +13,7 @@ depends=('eigenpy')
optdepends=('metapod-git' 'urdfdom' 'lua51')
makedepends=('cmake' 'gcc5' 'git')
conflicts=('pinocchio')
-source=("$_pkgname"::"https://github.com/stack-of-tasks/$_pkgname.git")
+source=("$_pkgname"::"git://github.com/stack-of-tasks/$_pkgname.git")
md5sums=('SKIP')
pkgver() {
@@ -24,12 +24,13 @@ pkgver() {
prepare() {
cd "$_pkgname"
git checkout devel
- git submodule update
+ git submodule update --init
}
build() {
cd "$_pkgname"
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS=-std=c++03 -DBUILD_UNIT_TESTS=OFF .
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/lib \
+ -DCMAKE_CXX_FLAGS=-std=c++03 -DBUILD_UNIT_TESTS=OFF .
make
}