blob: 6a5087a833061c381a7336268e25cf518d2a35d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}
|