summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/blender-libre/PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
index c55d9a385..f386e5e6c 100644
--- a/libre/blender-libre/PKGBUILD
+++ b/libre/blender-libre/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=blender
epoch=10
_pkgver=2.68a
-pkgrel=1
+pkgrel=2
_jpgver=1.5
_pyver=3.3
@@ -64,10 +64,16 @@ sha512sums=ce93779c5cbadf361f08ad0f9d5370d52878f94edc0b113d73711b842169d0e000e15
prepare() {
cd $srcdir/$_pkgname-$pkgver
- msg 'rename wrong OS name'
+ msg 'renaming wrong OS name'
_OS=$(uname -o)
[[ $_OS == GNU ]] && sed -i 's|BUILD_PLATFORM;|"GNU";|' source/creator/buildinfo.c
[[ $_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|
+ ' release/text/readme.html
+
+ msg 'removing Open Source term'
+ sed -i 's|free, open source|free|' release/text/readme.html
mkdir -v build