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://assimp.org/'
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/assimp/assimp/archive/v${pkgver}.tar.gz")
14 sha512sums=('414c2c4581a9c4e09b7aefed377c49e62b11d2de7a7dc976245fb2fb91c81012a8611d16f6bebb8315215b4be42d2a3f8817ab6e369ddd505e0ebf2ba3cb3f10')
17 cd ${pkgname}-${pkgver}
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DASSIMP_BUILD_SAMPLES=OFF
29 cd ${pkgname}-${pkgver}
31 DESTDIR="$pkgdir" ninja -C build install
32 install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE