[arch-commits] Commit in ode/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Tue May 29 09:38:31 UTC 2018


    Date: Tuesday, May 29, 2018 @ 09:38:30
  Author: arodseth
Revision: 333163

archrelease: copy trunk to community-x86_64

Added:
  ode/repos/community-x86_64/PKGBUILD
    (from rev 333162, ode/trunk/PKGBUILD)
Deleted:
  ode/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   85 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 47 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-29 09:38:20 UTC (rev 333162)
+++ PKGBUILD	2018-05-29 09:38:30 UTC (rev 333163)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>
-
-pkgname=ode
-pkgver=0.15.2
-pkgrel=1
-pkgdesc="An open source, high performance library for simulating rigid body dynamics"
-arch=('x86_64')
-url="https://bitbucket.org/odedevs/ode/"
-license=('LGPL' 'BSD')
-depends=('gcc-libs' 'bash')
-source=("https://bitbucket.org/odedevs/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('2eaebb9f8b7642815e46227956ca223806f666acd11e31708bd030028cf72bac')
-
-build() {
-  cd ${pkgname}-${pkgver}
-
-  ./bootstrap
-  ./configure --prefix=/usr \
-              --enable-shared \
-              --enable-libccd \
-              --enable-double-precision
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-
-  make DESTDIR=${pkgdir}/ install
-
-  install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/ou/LICENSE-BSD.TXT \
-                  ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-BSD.TXT
-  install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/GIMPACT/GIMPACT-LICENSE-BSD.TXT \
-                  ${pkgdir}/usr/share/licenses/${pkgname}/GIMPACT-LICENSE-BSD.TXT
-  install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/libccd/BSD-LICENSE \
-                  ${pkgdir}/usr/share/licenses/${pkgname}/BSD-LICENSE
-}

Copied: ode/repos/community-x86_64/PKGBUILD (from rev 333162, ode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-29 09:38:30 UTC (rev 333163)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>
+
+pkgname=ode
+pkgver=0.15.2
+pkgrel=2
+pkgdesc='High performance library for simulating rigid body dynamics'
+arch=('x86_64')
+url='https://bitbucket.org/odedevs/ode/'
+license=('LGPL' 'BSD')
+source=("https://bitbucket.org/odedevs/$pkgname/downloads/$pkgname-$pkgver.tar.gz")
+sha256sums=('2eaebb9f8b7642815e46227956ca223806f666acd11e31708bd030028cf72bac')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  ./bootstrap
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  export CXXFLAGS='-w -Ofast -fpermissive'
+  ./configure \
+    --prefix=/usr \
+    --enable-shared \
+    --enable-double-precision \
+    --enable-libccd \
+    --enable-ou \
+    --enable-silent-rules
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  DESTDIR="$pkgdir" make install
+
+  install -Dm644 ou/LICENSE-BSD.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE-BSD.TXT"
+  install -Dm644 GIMPACT/GIMPACT-LICENSE-BSD.TXT "$pkgdir/usr/share/licenses/$pkgname/GIMPACT-LICENSE-BSD.TXT"
+  install -Dm644 libccd/BSD-LICENSE "$pkgdir/usr/share/licenses/$pkgname/BSD-LICENSE"
+}
+
+# getver: bitbucket.org/odedevs/ode/downloads/?tab=tags
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list