summaryrefslogtreecommitdiff
path: root/libre/blender-libre/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-16 20:06:43 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-16 20:06:43 -0300
commit80144549d2fcbe437fa30a10bd3eb47b6956e405 (patch)
tree6c54d3c119e1a1ee36ded1c818b5a1533180430b /libre/blender-libre/PKGBUILD
parent459ad64423573ea54cf054463bbde20bb65cb492 (diff)
blender-libre: updating pkg
Diffstat (limited to 'libre/blender-libre/PKGBUILD')
-rw-r--r--libre/blender-libre/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
index f226b76fd..e9dbc1f62 100644
--- a/libre/blender-libre/PKGBUILD
+++ b/libre/blender-libre/PKGBUILD
@@ -11,7 +11,7 @@ else
_spndesc=''
fi
epoch=8
-pkgver=2.67a
+pkgver=2.67b
_jpgver=1.5
_pyver=3.3
pkgrel=1
@@ -59,10 +59,10 @@ conflicts=${_pkgname%-$_pkgflag}
replaces=${_pkgname%-$_pkgflag}
install=$_pkgname.install
source=http://download.${_pkgname%-$_pkgflag}.org/source/${_pkgname%-$_pkgflag}-$pkgver.tar.gz
-sha512sums=1336ed00ab51c581ab5b8ef6ace04b3684290b287745de3260e4072e3527501bf62472057c4c521533678b2529b7d0c2dca93d0ca3854e29d82443a78d5c4061
+sha512sums=d9b24219770e51aac76a15cb6db486835d389e27a89d1ce890da0f0a30f3f76a070ddd9c21e739df93e7f4a670a6b3de993a6f56696983bf466be9c14e906525
prepare() {
- mkdir cd $srcdir/${_pkgname%-$_pkgflag}-$pkgver/build
+ mkdir $srcdir/${_pkgname%-$_pkgflag}-$pkgver/build
}
build() {
@@ -70,7 +70,7 @@ build() {
[[ $CARCH == i686 ]] && DSUPPORT_SSE2_BUILD='-DSUPPORT_SSE2_BUILD=OFF'
- setarch $CARCH cmake ..\
+ cmake ..\
-DCMAKE_BUILD_TYPE=Release\
-DCMAKE_INSTALL_PREFIX=/usr\
-DOPENIMAGEIO_ROOT_DIR=/usr\
@@ -96,16 +96,15 @@ build() {
-DWITH_PYTHON_INSTALL=OFF\
-DWITH_SYSTEM_GLEW=ON
- setarch $CARCH make $MAKEFLAGS
- setarch $CARCH make
+ make $MAKEFLAGS
+ make
}
package() {
cd $srcdir/${_pkgname%-$_pkgflag}-$pkgver/build
- setarch $CARCH make DESTDIR=$pkgdir install
- setarch $CARCH python -m compileall $pkgdir/usr/share/${_pkgname%-$_pkgflag}
- # drop nonfree povray render support
- rm -vrf $pkgdir/usr/share/${_pkgname%-$_pkgflag}/${pkgver::4}/scripts/addons/render_povray
+ make DESTDIR=$pkgdir install
+ rm -vrf $pkgdir/usr/share/${_pkgname%-$_pkgflag}/${pkgver::4}/scripts/addons/render_povray # drop nonfree povray render support
+ python -m compileall $pkgdir/usr/share/${_pkgname%-$_pkgflag} || return 0
}
# vim:set ts=2 sw=2 et: