summaryrefslogtreecommitdiff
path: root/libre/blender-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-17 20:49:54 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-06-17 20:49:54 -0300
commit31baf5776881d2787814d669d398c6e0526d5449 (patch)
treec24d342fd7842699b89c51ac8cbdf42df074e51f /libre/blender-libre/PKGBUILD
parent7b16fd3983d9b2567b8119b0f499e9e7f3114414 (diff)
parent6f277f24dfa07959d80832aab076566cb648c5ff (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
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: