summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chr├ętien2015-08-20 13:50:26 +0900
committerBenjamin Chr├ętien2015-08-20 13:50:26 +0900
commit2bf1e19c1652bdbca9a307d6c610749086b885d3 (patch)
treecbf9faa92e7cb65e9247fd07f9808a82f3beb3b2
parente7b1c2095f05f35aa37e250d40fe6dc40e400be3 (diff)
downloadaur-2bf1e19c1652bdbca9a307d6c610749086b885d3.tar.gz
Fix Python install
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 95791118136..13d0ac45ddb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = openhrp3
pkgdesc = Open Architecture Human-centered Robotics Platform
pkgver = 3.1.8
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/fkanehiro/openhrp3
arch = i686
arch = x86_64
@@ -18,6 +18,7 @@ pkgbase = openhrp3
depends = collada-dom
depends = openrtm-aist
depends = uuid
+ depends = python2
source = https://github.com/fkanehiro/openhrp3/archive/3.1.8.tar.gz
sha256sums = 100dd486e8a3504c242835fc44f2e6830c78360623b98f981b9d2667949ffccf
diff --git a/PKGBUILD b/PKGBUILD
index b62fc4d31ea..58295160730 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
pkgname=openhrp3
pkgver=3.1.8
-pkgrel=1
+pkgrel=2
pkgdesc="Open Architecture Human-centered Robotics Platform"
arch=('i686' 'x86_64')
url="https://github.com/fkanehiro/openhrp3"
license=('EPL')
# FIXME: probably tons of dependencies missing
depends=('omniorb' 'lapack' 'f2c' 'boost' 'eigen3'
- 'collada-dom' 'openrtm-aist' 'uuid')
+ 'collada-dom' 'openrtm-aist' 'uuid' 'python2')
optdepends=()
makedepends=('cmake' 'doxygen' 'graphviz' 'python2-yaml')
source=("https://github.com/fkanehiro/${pkgname}/archive/${pkgver}.tar.gz")
@@ -18,6 +18,10 @@ sha256sums=('100dd486e8a3504c242835fc44f2e6830c78360623b98f981b9d2667949ffccf')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # Fixes
+ find . -type f -exec sed -i 's|COMMAND python -c|COMMAND python2 -c|g' {} \;
+ find . -type f -exec sed -i 's|dist-packages|site-packages|g' {} \;
+
# Create build directory
mkdir -p build && cd build