contrib/assimp/Pkgfile

19 lines
539 B
Plaintext

# Description: Library to import various well-known 3D model formats in an uniform manner
# URL: http://assimp.sourceforge.net/index.html
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: boost cmake
name=assimp
version=5.0.1
release=1
source=(https://github.com/assimp/assimp/archive/v$version/$name-$version.tar.gz)
build() {
cmake -S$name-$version -Bbuild \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DASSIMP_BUILD_SAMPLES=OFF
cmake --build build
DESTDIR=$PKG cmake --install build
}