[arch-commits] Commit in (assimp assimp/repos assimp/trunk assimp/trunk/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Jun 24 22:09:26 UTC 2016


    Date: Friday, June 24, 2016 @ 22:09:26
  Author: arojas
Revision: 270617

community2extra: Moving assimp from community to extra

Added:
  assimp/
  assimp/repos/
  assimp/trunk/
  assimp/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: assimp/trunk/PKGBUILD
===================================================================
--- assimp/trunk/PKGBUILD	                        (rev 0)
+++ assimp/trunk/PKGBUILD	2016-06-24 22:09:26 UTC (rev 270617)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: jepaan <jepaan at hotmail dot com>
+
+pkgname=assimp
+pkgver=3.2
+pkgrel=2
+pkgdesc="Portable Open Source library to import various well-known 3D model formats in an uniform manner"
+arch=('i686' '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=('bb0cfa1513c4e11cf7ba14ba66548072')
+
+build() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+
+	mkdir build && cd build
+	cmake .. \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DASSIMP_ENABLE_BOOST_WORKAROUND=OFF \
+        -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
+}


Property changes on: assimp/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list