summaryrefslogtreecommitdiff
path: root/libre/luxrender-libre/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-24 13:41:26 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-24 13:41:26 -0300
commit427f66b01ddd4c78da4a970c9c91da80f3795fd3 (patch)
tree5daafe28197c3f8791352e94806943e54e1bc787 /libre/luxrender-libre/PKGBUILD
parent5d4c4204913230bb4b26c3d1caa73acc7bbc2f7b (diff)
downloadabslibre-427f66b01ddd4c78da4a970c9c91da80f3795fd3.tar.gz
abslibre-427f66b01ddd4c78da4a970c9c91da80f3795fd3.tar.bz2
abslibre-427f66b01ddd4c78da4a970c9c91da80f3795fd3.zip
luxrender-libre: rebuild and fixing package
Diffstat (limited to 'libre/luxrender-libre/PKGBUILD')
-rw-r--r--libre/luxrender-libre/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/libre/luxrender-libre/PKGBUILD b/libre/luxrender-libre/PKGBUILD
index 15bc771ed..3e9ae0e9e 100644
--- a/libre/luxrender-libre/PKGBUILD
+++ b/libre/luxrender-libre/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=luxrender-libre
_pkgflag=libre
pkgver=1.2.1
_pkgver=3066b2161439
-pkgrel=1
+pkgrel=2
pkgdesc="Rendering system for physically correct, unbiased image synthesis, without nonfree OpenCL recommendation"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.${pkgname%-$_pkgflag}.net/"
@@ -34,18 +34,18 @@ build() {
patch -Np1 < "$srcdir/boost-1.53-shared_array_constructor.diff" || true
export CXXFLAGS="$CXXFLAGS -lpthread"
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ setarch $CARCH cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DLUXRAYS_DISABLE_OPENCL=OFF \
-DPYTHON_CUSTOM=ON \
-DPYTHON_LIBRARIES=/usr/lib/libpython3.3m.so \
-DPYTHON_INCLUDE_PATH=/usr/include/python3.3m/ \
.
- make
+ setarch $CARCH make
}
package() {
cd "$srcdir"/${pkgname%-$_pkgflag}-lux-$_pkgver
- make DESTDIR="$pkgdir" install
+ setarch $CARCH make DESTDIR="$pkgdir" install
# fix library path on x86_64
[ "$CARCH" = "x86_64" ] && mv "$pkgdir"/usr/lib64 "$pkgdir"/usr/lib