summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-24 14:04:43 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-24 14:04:43 -0300
commit75fc2cf27c6d9c99ace806e854f7a018d20a3af9 (patch)
treef9581235e1fc79947fa2c08f46a09a257a68c084
parent011a8613aa9dd503c370ac982f2d5fdedff2ec51 (diff)
downloadabslibre-75fc2cf27c6d9c99ace806e854f7a018d20a3af9.tar.gz
abslibre-75fc2cf27c6d9c99ace806e854f7a018d20a3af9.tar.bz2
abslibre-75fc2cf27c6d9c99ace806e854f7a018d20a3af9.zip
luxblend25: fixing package
-rw-r--r--libre/luxblend25/PKGBUILD33
1 files changed, 15 insertions, 18 deletions
diff --git a/libre/luxblend25/PKGBUILD b/libre/luxblend25/PKGBUILD
index 2af861641..ac5807a7f 100644
--- a/libre/luxblend25/PKGBUILD
+++ b/libre/luxblend25/PKGBUILD
@@ -1,35 +1,32 @@
-# $Id$
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgbase=luxrender
pkgname=luxblend25
-srcver=c9deae0646d0
+_srcver=c9deae0646d0
pkgver=1.2.1.v2.66
_pkgver=${pkgver::5}
-reqname=blender
-reqver=${pkgver:7}
-reqep=7
-pkgrel=1
-pkgdesc="LuxRender exporter for ${reqname^}."
+_reqname=blender
+_reqver=${pkgver:7}
+_reqep=7
+pkgrel=2
+pkgdesc="LuxRender exporter for ${_reqname^}."
arch=any
url=http://www.$pkgbase.net/
license=GPL
depends=(
$pkgbase=$_pkgver
- "$reqname>=$(($reqep-1)):$reqver"
- "$reqname<$reqep:${reqver::2}$((${reqver:2:4}+1))"
+ "$_reqname>=$(($_reqep-1)):$_reqver"
+ "$_reqname<$_reqep:${_reqver::2}$((${_reqver:2:4}+1))"
)
-provides=($pkgname=$_pkgver)
-conflicts=$pkgname
-replaces=$pkgname
-source=http://src.$pkgbase.net/$pkgname/archive/$srcver.tar.bz2
+source=http://src.$pkgbase.net/$pkgname/archive/$_srcver.tar.bz2
sha512sums=e8d93d5d9d73c1cd4f2008697bd9a8a125d08910aed3f4d3e4bcd290810d673aa663c327fc2cb7ac983cb3439a6996431c39bc3a2f0b6ed05ce5d0b8398ece92
package() {
- a=$pkgname-$srcver/src/$pkgbase
- b=usr/share/$reqname/$reqver/scripts/addons
- install -d -m755 $pkgdir/$b
- cp -a $srcdir/$a $pkgdir/$b
+ a=$srcdir/$pkgname-$_srcver/src/$pkgbase
+ b=$pkgdir/usr/share/$_reqname/$_reqver/scripts/addons
+ install -d -m755 $b && cp -a $a $b
# change the search path in exporter so it finds pylux in its new location
- sed -i 's|from.*import pylux|import pylux|' $pkgdir/$b/$pkgbase/outputs/pure_api.py
+ sed -i 's|from.*import pylux|import pylux|' $b/$pkgbase/outputs/pure_api.py
}
+
+# vim:set ts=2 sw=2 et: