summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: be67056d419093a39c2f9f3e563f3cb1d5e48d6c (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
# Maintainer: randomnobody <nobody "at" 420blaze "dot" it>
# Contributor: jwhendy <jw.hendy@gmail.com>
# Contributor: bchretien
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: jepaan <jepaan at hotmail dot com>

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
}