summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Schneider2014-11-04 16:53:38 +0100
committerSven Schneider2014-11-04 16:53:38 +0100
commitd9623bdcd2050a4b168f4887d6260c08c8e4c2a6 (patch)
tree5b5e1c59beb0627ca1874251a8ee15a5d71f5b1b
parentf131f58142d58d477474fb4c2e382bec448e0f72 (diff)
downloadaur-graspit.tar.gz
graspit: move make to package function
This is a workaround. GraspIt! does not differentiate between building and installing. However, during the build phase, the pkg directory is not writable. Therefore, make is executed in the package phase.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a715523df3f6..8063fd7564f3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = graspit
pkgdesc = Environment for grasp analysis and planning.
pkgver = 2.2
- pkgrel = 3
+ pkgrel = 4
url = http://www.cs.columbia.edu/~cmatei/graspit/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index ae91ab1d598d..97ce5efdef67 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=graspit
pkgver=2.2
-pkgrel=3
+pkgrel=4
pkgdesc="Environment for grasp analysis and planning."
arch=('i686' 'x86_64')
url="http://www.cs.columbia.edu/~cmatei/graspit/"
@@ -23,12 +23,12 @@ build() {
cd "${srcdir}/Graspit"
qmake-qt4 graspit.pro EXT_DESTDIR="${pkgdir}/usr/share/graspit" ADDITIONAL_INCLUDE_DIR=/usr/include/libqhull ADDITIONAL_LINK_FLAGS=-ldl
- make
}
package() {
cd "${srcdir}/Graspit"
+ make
make install
# include 3D models and worlds