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/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
index c35d75b28..c5c200a32 100644
--- a/libre/blender-libre/PKGBUILD
+++ b/libre/blender-libre/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=blender
epoch=11
_pkgver=2.70
-pkgrel=2
+pkgrel=3
_jpgver=1.5
_pyver=3.4
@@ -13,7 +13,7 @@ _spn=false
_spndesc=' (with spacenav support)'
}
-pkgname=$_pkgname$_spnname-libre
+pkgname=$_pkgname-libre$_spnname
pkgver=$_pkgver
pkgdesc='Fully integrated 3D graphics creation suite, without nonfree cuda support'$_spndesc
arch=(
@@ -74,11 +74,12 @@ makedepends=(
llvm
mesa
)
-provides=($_pkgname)
-[[ $_spn == true ]] && provides+=("$_pkgname-libre=$epoch:$pkgver")
-conflicts=($_pkgname)
-[[ $_spn == true ]] && conflicts+=($_pkgname-libre)
-replaces=$_pkgname
+[[ $_spn != true ]] && provides=($_pkgname)
+[[ $_spn == true ]] && provides+=("$_pkgname-libre=$epoch:$pkgver" $_pkgname$_spnname-libre)
+[[ $_spn != true ]] && conflicts=($_pkgname)
+[[ $_spn == true ]] && conflicts+=($_pkgname-libre $_pkgname$_spnname-libre)
+[[ $_spn != true ]] && replaces=$_pkgname
+[[ $_spn == true ]] && replaces=$_pkgname$_spnname-libre
options=(!strip)
install=$_pkgname.install
source=http://download.$_pkgname.org/source/$_pkgname-$pkgver.tar.gz
@@ -94,7 +95,7 @@ prepare() {
[[ $_OS == GNU/kFreeBSD ]] && sed -i 's|BUILD_PLATFORM;|"GNU/kFreeBSD";|' source/creator/buildinfo.c
sed -i 's|Linux, Mac OS X, Windows and FreeBSD|GNU and BSD|
s|Linux, FreeBSD|GNU and BSD|
- s|Unpack the archive, Then run the Blender executable.|Intall from Parabola repo (pacman -S '"$pkgname"'), Then run blender.|
+ s|Unpack the archive, Then run the Blender executable.|Install 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