summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDarcy Hu2018-10-05 18:57:17 +0800
committerDarcy Hu2018-10-05 18:57:17 +0800
commit00ec46d2ac272dec8f7b3aeecb56924cf97d02c0 (patch)
tree90ef6624319b842728749c6eea3a771610f69039 /PKGBUILD
parentffa264f0e93493776faec1734a86e2756e3d0ff1 (diff)
downloadaur-00ec46d2ac272dec8f7b3aeecb56924cf97d02c0.tar.gz
emm, some fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 787d99dcb8d..18d02c15670 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,6 +13,7 @@ license=('APL')
depends=('cuda')
makedepends=('git'
'cmake'
+ 'chrpath'
'eigen'
'cuda'
'gtest'
@@ -41,7 +42,7 @@ build() {
make
# build python interface
cd "$srcdir/thundersvm/python"
- python setup.py build
+# python setup.py build
}
check_thundersvm-git() {
@@ -52,6 +53,8 @@ check_thundersvm-git() {
package() {
cd "$srcdir/thundersvm/build/bin"
+ chrpath -d thundersvm-predict
+ chrpath -d thundersvm-train
install -Dm755 thundersvm-predict "$pkgdir/usr/bin/thundersvm-predict"
install -Dm755 thundersvm-train "$pkgdir/usr/bin/thundersvm-train"
cd "$srcdir/thundersvm/build/lib"
@@ -59,6 +62,6 @@ package() {
cd "$srcdir/thundersvm"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd "$srcdir/thundersvm/python"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+#python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}