summaryrefslogtreecommitdiff
path: root/libre/luxblend25/PKGBUILD
blob: 26640795fea33c4200c1f868bce506d485a9754b (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=3a928b723b29
pkgver=1.1.v2.65
_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=(
  "https://src.$pkgbase.net/$pkgname/archive/$srcver.tar.bz2"
)
sha512sums=(
  f5aadc77e699f6b7259ece271b0c50ca7be5858bb628b99aedbb23b64e5587ac59cc3d1c52e063ba89c9d340f915727046e4d3017b26238425d43d3bba14f017
)

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