# Maintainer: randomnobody # Contributor: jwhendy # Contributor: bchretien # Contributor: Sven-Hendrik Haase # Contributor: jepaan pkgname=python-pyassimp _name=assimp pkgver=5.3.1 pkgrel=1 pkgdesc="Portable Open Source library to import various well-known 3D model formats in an uniform manner. Python bindings." arch=('i686' 'x86_64') license=('BSD') depends=('assimp' 'python>=3') url='http://assimp.sourceforge.net/index.html' source=("https://github.com/assimp/assimp/archive/v${pkgver}.tar.gz") sha256sums=('a07666be71afe1ad4bc008c2336b7c688aca391271188eb9108d0c6db1be53f1') conflicts=(python2-pyassimp) build() { cd ${srcdir}/${_name}-${pkgver}/port/PyAssimp python3 setup.py build } package() { cd ${srcdir}/${_name}-${pkgver}/port/PyAssimp python3 setup.py install --root="$pkgdir/" --optimize=1 }