From 034a072ce8ce4e4f604560d28d7f934707421bae Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Wed, 2 Apr 2014 11:07:32 -0300 Subject: blender-libre: fix type, name, provides, conflicts and replaces --- libre/blender-libre/PKGBUILD | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'libre/blender-libre') 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 -- cgit v1.2.3-54-g00ecf