summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chr├ętien2015-08-18 13:37:52 +0900
committerBenjamin Chr├ętien2015-08-18 13:37:52 +0900
commitbea83b6c2c96a519c7d865f590de185e978f2e02 (patch)
tree7df9ac836cf5da0799d9771fb563cbfc7110e324
downloadaur-bea83b6c2c96a519c7d865f590de185e978f2e02.tar.gz
Initial commit
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD40
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e1958ea94fc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = openhrp3
+ pkgver = 3.1.8
+ pkgrel = 1
+ arch = i686
+ arch = x86_64
+ license = EPL
+ makedepends = cmake
+ makedepends = doxygen
+ makedepends = graphviz
+ makedepends = python2-yaml
+ depends = omniorb
+ depends = lapack
+ depends = f2c
+ depends = boost
+ depends = eigen3
+ depends = collada-dom
+ depends = openrtm-aist
+ depends = uuid
+ source = https://github.com/fkanehiro/openhrp3/archive/3.1.8.tar.gz
+ sha256sums = 100dd486e8a3504c242835fc44f2e6830c78360623b98f981b9d2667949ffccf
+
+pkgname = openhrp3
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c22cef64502
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Benjamin Chretien <chretien at lirmm dot fr>
+
+pkgname=openhrp3
+pkgver=3.1.8
+pkgrel=1
+pkgdesc=""
+arch=('i686' 'x86_64')
+url=""
+license=('EPL')
+# FIXME: probably tons of dependencies missing
+depends=('omniorb' 'lapack' 'f2c' 'boost' 'eigen3'
+ 'collada-dom' 'openrtm-aist' 'uuid')
+optdepends=()
+makedepends=('cmake' 'doxygen' 'graphviz' 'python2-yaml')
+source=("https://github.com/fkanehiro/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('100dd486e8a3504c242835fc44f2e6830c78360623b98f981b9d2667949ffccf')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Create build directory
+ mkdir -p build && cd build
+
+ # Run CMake
+ cmake .. -DCMAKE_BUILD_TYPE="Release" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_INSTALL_LIBDIR="lib"
+
+ # Compile
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/build"
+
+ # Install Gazebo
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et: