summaryrefslogtreecommitdiff
path: root/libre/luxblend25/PKGBUILD
blob: d9934e1795b717abeea0591dec2cfc01fd900dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id$
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=luxblend25
pkgver=1.0rc3
_pkgver=2d621c653196
_blender=2.63
pkgrel=1
pkgdesc="A LuxRender exporter for Blender-libre"
arch=('any')
url="http://www.luxrender.net/"
license=('GPL')
depends=('blender' 'luxrender')
replaces=('luxblend25')
conflicts=('luxblend25')
provides=("luxblend25=$pkgver")
source=(https://bitbucket.org/luxrender/luxblend25/get/$_pkgver.tar.bz2)
md5sums=('c5719c2a0e8567cd9f0aef429a2996f0')

package() {
  install -d -m755 "$pkgdir"/usr/share/blender/$_blender/scripts/addons
  cp -a "$srcdir"/luxrender-luxblend25-$_pkgver/src/luxrender \
    "$pkgdir"/usr/share/blender/$_blender/scripts/addons
  # change the search path in exporter so it finds pylux in its new location
  sed -i 's|from.*import pylux|import pylux|' "$pkgdir/usr/share/blender/$_blender/scripts/addons/luxrender/outputs/pure_api.py"
}

# vim:set ts=2 sw=2 et: