summaryrefslogtreecommitdiff
path: root/libre/luxblend25/PKGBUILD
blob: 82dd36a40d9214d516bc6e9a544796bbbbcbafc6 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# $Id$
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>

pkgbase=luxrender
pkgname=luxblend25
srcver=3b84c4d3f009
pkgver=1.2.v2.66
_pkgver=${pkgver::3}
reqname=blender
reqver=${pkgver:5}
pkgrel=1
pkgdesc='LuxRender exporter for Blender-libre'
arch=(
  any
)
url="http://www.$pkgbase.net/"
license=(
  GPL
)
depends=(
  $pkgbase=$_pkgver
  "$reqname>=$reqver"
)
provides=(
  $pkgname=$_pkgver
)
conflicts=(
  $pkgname
  #"$reqname>=${reqver::2}$((${reqver:2}+1))"
)
replaces=(
  $pkgname
)
source=(
  "http://src.$pkgbase.net/$pkgname/archive/$srcver.tar.bz2"
)
sha512sums=(
  15025d192088266d781a6e80ecb4982b188d73bb7c6b12c93689a4265e967f92bcf93fc724939447c5ee7ea3f63ce52ad6bf3d20a795dcebf86e6940a3aa33b3
)

package() {
  a=$pkgname-$srcver/src/$pkgbase
  b=usr/share/$reqname/$reqver/scripts/addons
  install -d -m755 $pkgdir/$b
  cp -a $srcdir/$a $pkgdir/$b
}