summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-04-02 11:07:32 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-04-02 11:07:32 -0300
commit034a072ce8ce4e4f604560d28d7f934707421bae (patch)
tree218a008ce7f7a5623057dd83c3bba961e0721405
parent7f762bd2b1eb8a579b48e00ad75a5c76c13d25b7 (diff)
blender-libre: fix type, name, provides, conflicts and replaces
-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