summaryrefslogtreecommitdiff
path: root/pcr/blender-ogre-exporter/PKGBUILD
blob: 10b2994f1f62f89c90997a6b2fae98c27963200f (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
# Contributor (AUR): giacomogiorgianni@gmail.com
# Contributor: Márcio Silva <coadde@hyperbola.info>
# Maintainers: Parabola hackers <dev@lists.parabola.nu>

# parabola changes and rationale:
#  - adapted from blender26-ogre-exporter
#  - added replaces for previous pkgname 'blender-addon-ogre' (2018-02-01)
#  - added replaces for previous pkgname 'blender26-ogre-exporter' (2018-02-01)
#  - fixed arch array
#  - renamed build function to package
#  - updated to new remote
#  - added makedepends: git

pkgname=blender26-ogre-exporter
_name=blender2ogre
pkgver=0.7
pkgrel=1
pkgdesc="Blender-integrated exporter for exporting OGRE meshes"
arch=('any')
url="http://www.ogre3d.org/wiki/index.php/OGRE_Meshes_Exporter"
depends=('python' 'blender' 'ogre')
makedepends=('git')
replaces=('blender-addon-ogre' 'blender26-ogre-exporter')
license=('GPL')
install=blender-ogre-exporter.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/OGRECave/$_name/archive/v$pkgver.tar.gz")
md5sums=('0f33c7b95f818cce49dd35b38a00e971')

package() {
	mkdir -p ${pkgdir}/usr/share/blender/2.78/scripts/addons/
	cp -r ${srcdir}/$_name-$pkgver/io_ogre ${pkgdir}/usr/share/blender/2.78/scripts/addons/
}