[arch-commits] Commit in ode/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Tue Nov 1 06:05:48 EDT 2011


    Date: Tuesday, November 1, 2011 @ 06:05:48
  Author: pierre
Revision: 141649

rebuild old package

Modified:
  ode/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-01 09:57:08 UTC (rev 141648)
+++ PKGBUILD	2011-11-01 10:05:48 UTC (rev 141649)
@@ -4,13 +4,13 @@
 
 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 @@
   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
 }



More information about the arch-commits mailing list