-
-
Save faulesocke/fdfa281c16a6b8ddb2b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Maintainer: lubosz <lubosz@gmail.com> | |
pkgname=assimp-git | |
pkgver=20130728 | |
pkgrel=1 | |
pkgdesc="Portable Open Source library to import various well-known 3D model formats in an uniform manner" | |
arch=(i686 x86_64) | |
url="http://assimp.sourceforge.net/" | |
license=('BSD') | |
depends=('boost') | |
makedepends=('git') | |
conflicts=() | |
options=(makeflags !emptydirs) | |
_gitname="assimp" | |
source=("git://github.com/assimp/assimp.git") | |
md5sums=('SKIP') | |
pkgver() { | |
cd $_gitname | |
git describe --always | sed 's|-|.|g' | |
} | |
build() { | |
cd $_gitname | |
cmake . \ | |
-DCMAKE_INSTALL_PREFIX=/usr | |
make || return 1 | |
} | |
package() { | |
cd ${_gitname} | |
make DESTDIR=$pkgdir install || return 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment