1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor: jepaan <jepaan at hotmail dot com>
7 pkgdesc="Library to import various well-known 3D model formats in an uniform manner"
10 depends=('zlib' 'gcc-libs')
11 makedepends=('cmake' 'ninja')
12 url='https://github.com/assimp/assimp'
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/assimp/assimp/archive/v${pkgver}.tar.gz")
14 sha512sums=('ac0dc4243f9d1ff077966f0037187b4374075ac97e75e1a3cd6bdc1caf5f8e4d40953d9a8a316480969c09524d87daa9d3ed75e6ac6f037dd5b1c5f25fce3afb')
17 cd ${pkgname}-${pkgver}
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DASSIMP_BUILD_SAMPLES=OFF \
25 -DASSIMP_WARNINGS_AS_ERRORS=OFF \
26 -DASSIMP_BUILD_ASSIMP_TOOLS=ON
31 cd ${pkgname}-${pkgver}
33 DESTDIR="$pkgdir" ninja -C build install
34 install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE