Skip to content

Instantly share code, notes, and snippets.

@faulesocke
Created July 28, 2013 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faulesocke/fdfa281c16a6b8ddb2b9 to your computer and use it in GitHub Desktop.
Save faulesocke/fdfa281c16a6b8ddb2b9 to your computer and use it in GitHub Desktop.
#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