# $Id: PKGBUILD 163893 2012-07-21 19:10:48Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Adam Griffiths pkgname=ode pkgver=0.12 pkgrel=3 pkgdesc="An open source, high performance library for simulating rigid body dynamics" arch=('i686' 'x86_64' 'mips64el') url="http://www.ode.org" license=('LGPL' 'BSD') depends=('gcc-libs' 'bash') source=("http://downloads.sourceforge.net/sourceforge/opende/${pkgname}-${pkgver}.tar.bz2") options=('!libtool') md5sums=('48fdd41fae1a7e7831feeded09826599') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --enable-shared \ --enable-libccd \ --enable-double-precision make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR=${pkgdir}/ install install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/ou/LICENSE-BSD.TXT \ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-BSD.TXT }