summaryrefslogtreecommitdiff
path: root/libre/blender-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/blender-libre/PKGBUILD')
-rw-r--r--libre/blender-libre/PKGBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
index f386e5e6c..90df03528 100644
--- a/libre/blender-libre/PKGBUILD
+++ b/libre/blender-libre/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=blender
epoch=10
_pkgver=2.68a
-pkgrel=2
+pkgrel=3
_jpgver=1.5
_pyver=3.3
@@ -34,7 +34,7 @@ depends=(
libpng
libtiff
openal
- openexr
+ openexr-libre
openimageio
'opencollada=20130413'
opencolorio
@@ -53,7 +53,7 @@ makedepends=(
mesa
)
provides=($_pkgname)
-[[ $_spn == true ]] && provides+=($_pkgname-libre)
+[[ $_spn == true ]] && provides+=("$_pkgname-libre=$epoch:$pkgver")
conflicts=($_pkgname)
[[ $_spn == true ]] && conflicts+=($_pkgname-libre)
replaces=$_pkgname
@@ -70,10 +70,20 @@ prepare() {
[[ $_OS == GNU/Linux ]] && sed -i 's|BUILD_PLATFORM;|"GNU/Linux-libre";|' source/creator/buildinfo.c
sed -i 's|Linux, Mac OS X, Windows and FreeBSD|GNU and GNU/Linux-libre|
s|Linux, FreeBSD|GNU, GNU/Linux-libre|
+ s|Unpack the archive, Then run the Blender executable.|Intall from Parabola repo (pacman -S '"$pkgname"'), Then run blender.|
+ \|Windows|d;\|Mac OS X|d
+ s|The downloaded Blender package includes|The '"${pkgname^}"' package includes|
' release/text/readme.html
+ sed -i 's|Linux|GNU/Linux-libre|
+ ' release/scripts/{addons/game_engine_save_as_runtime,modules/bl_i18n_utils/utils_rtl}.py
+ sed -i 's| (.so under Linux, .dll under windows...)||
+ ' release/scripts/{addons/ui_translate,modules/bl_i18n_utils}/settings.py
msg 'removing Open Source term'
- sed -i 's|free, open source|free|' release/text/readme.html
+ sed -i 's|free, open source|free|
+ s|free and open-source|free|
+ s|open-source and free|free|
+ ' release/text/readme.html
mkdir -v build