summaryrefslogtreecommitdiff
path: root/libre/blender-libre
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-08-01 01:13:12 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-08-01 01:13:12 -0300
commit4cb9d442d12bde457981be8e7a6e5fc500dc57b5 (patch)
tree64af66b576693ec0b335ee74639fcc483eb21f65 /libre/blender-libre
parent86b93a9d899702a8f1a6f852e96b5c052e33e2ff (diff)
blender-libre: renaming wrong OS name and removing Open Source term
Diffstat (limited to 'libre/blender-libre')
-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