summaryrefslogtreecommitdiff
path: root/extra/ode/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-02 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2011-11-02 23:14:55 +0000
commit6c10ff06abb7ca3a4db4c73624f73aafdd3b2e63 (patch)
tree71f462606f0e719d1e04bd2232763bfe05a68a29 /extra/ode/PKGBUILD
parent9343f37ee7ba1aa98f65272412d331a280890e12 (diff)
Wed Nov 2 23:14:55 UTC 2011
Diffstat (limited to 'extra/ode/PKGBUILD')
-rw-r--r--extra/ode/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/ode/PKGBUILD b/extra/ode/PKGBUILD
index 3ed250d56..3cf29cf07 100644
--- a/extra/ode/PKGBUILD
+++ b/extra/ode/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 56738 2009-10-26 14:27:28Z giovanni $
+# $Id: PKGBUILD 141650 2011-11-01 10:06:18Z pierre $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>
pkgname=ode
pkgver=0.11.1
-pkgrel=1
+pkgrel=2
pkgdesc="An open source, high performance library for simulating rigid body dynamics"
arch=('i686' 'x86_64')
url="http://www.ode.org"
license=('LGPL' 'BSD')
depends=('gcc-libs' 'bash')
-source=(http://downloads.sourceforge.net/sourceforge/opende/${pkgname}-${pkgver}.tar.bz2)
+source=("http://downloads.sourceforge.net/sourceforge/opende/${pkgname}-${pkgver}.tar.bz2")
options=('!libtool')
md5sums=('712579afabc2a15aa56e399f76171477')
@@ -18,9 +18,13 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--enable-shared
- make || return 1
+ 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
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-BSD.TXT
}