summaryrefslogtreecommitdiff
path: root/pcr/blender-addon-ogre/PKGBUILD
blob: 77ae390f663daf8d53c2792b8085eb769ef62cdb (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
# Maintainer: Márcio Silva <coadde@lavabit.com>

_bldname=blender
_bldver=2.68
_bldep=10

_pkgname=ogre
pkgname=$_bldname-addon-$_pkgname
pkgver=0.6.0
pkgrel=1
pkgdesc="${_bldname}2$_pkgname: A addon for the ${_bldname^} which allows export to ${_pkgname^}3D formats (scene/mesh/material/skeleton) (built for the $_bldname-libre package)"
arch=any
url=https://code.google.com/p/${_bldname}2$_pkgname
license=LGPL2.1
depends=(
  "$_bldname-libre>=$(($_bldep-1)):$_bldver"
  "$_bldname-libre<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))"
)
source=https://${_bldname}2$_pkgname.googlecode.com/files/${_bldname}2$_pkgname-$pkgver.zip
sha512sums=15609a6dc3f5901ec59193acb6944017cc426fa12ce658715006ba781b6c39a09f38a64c858b28f7e662dff50eccf06ec6ef6efc22e0d2876c6c77fb18c04712

package() {
  cd $srcdir
  a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname
  install -vd $a && cp -va io_export_${_pkgname}DotScene.py $a/__init__.py
}