summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-07 20:00:31 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-07 20:00:31 (GMT)
commit6a0fe106b47de3ae2102df8eeb5ec0b6d2ec5b60 (patch)
treef4b55b1d24c27fec5c3a41c1dbc6708d295c3a2a
parentec7531c54115342f620a8246bd8179296bcd0048 (diff)
downloadlinhes_pkgbuild-6a0fe106b47de3ae2102df8eeb5ec0b6d2ec5b60.zip
linhes_pkgbuild-6a0fe106b47de3ae2102df8eeb5ec0b6d2ec5b60.tar.gz
linhes_pkgbuild-6a0fe106b47de3ae2102df8eeb5ec0b6d2ec5b60.tar.bz2
assimp: dep of qt5-3d
-rw-r--r--abs/extra/assimp/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra/assimp/PKGBUILD b/abs/extra/assimp/PKGBUILD
new file mode 100644
index 0000000..77f57da
--- /dev/null
+++ b/abs/extra/assimp/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: jepaan <jepaan at hotmail dot com>
+
+pkgname=assimp
+pkgver=4.1.0
+pkgrel=1
+pkgdesc="Library to import various well-known 3D model formats in an uniform manner"
+arch=('x86_64')
+license=('BSD')
+depends=('zlib' 'gcc-libs' 'boost-libs')
+makedepends=('cmake' 'boost')
+url='http://assimp.sourceforge.net/index.html'
+source=("$pkgname-$pkgver.tar.gz::https://github.com/assimp/assimp/archive/v${pkgver}.tar.gz")
+md5sums=('83b53a10c38d964bd1e69da0606e2727')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ mkdir build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DASSIMP_BUILD_SAMPLES=OFF
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}/build
+
+ make DESTDIR=$pkgdir install
+ install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}