diff options
author | root <root@rshg054.dnsready.net> | 2012-10-09 00:33:26 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-09 00:33:26 -0700 |
commit | 965fe5dd2bc0fae6b53c10d880c15f494dd589ac (patch) | |
tree | 910883dffa913262b28fb7a0e3bc41c3325b1dd2 /community-testing/assimp | |
parent | 962d1e81a62d7259ccb686da1a44de2bb28e73a5 (diff) |
Tue Oct 9 00:33:25 PDT 2012
Diffstat (limited to 'community-testing/assimp')
-rw-r--r-- | community-testing/assimp/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community-testing/assimp/PKGBUILD b/community-testing/assimp/PKGBUILD new file mode 100644 index 000000000..6a5087a83 --- /dev/null +++ b/community-testing/assimp/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: jepaan <jepaan at hotmail dot com> + +pkgname=assimp +pkgver=3.0.1270 +pkgrel=1 +pkgdesc="Portable Open Source library to import various well-known 3D model formats in an uniform manner" +arch=('i686' 'x86_64') +license=('BSD') +depends=('libxmu' 'zlib' 'freeglut') +makedepends=('cmake' 'boost') +url=('http://assimp.sourceforge.net/index.html') +source=("http://downloads.sourceforge.net/assimp/assimp--$pkgver-source-only.zip") +md5sums=('52aa4cf4e34e6b2a9c5f6c0b3c319af1') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}--${pkgver}-source-only \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/build + + make DESTDIR=$pkgdir install + install -Dm644 ${srcdir}/${pkgname}--${pkgver}-source-only/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |