[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Sunday, October 18, 2020 @ 00:25:23 Author: svenstaro Revision: 725831 upgpkg: box2d 2.4.1-1 Modified: box2d/trunk/PKGBUILD --+ PKGBUILD | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-18 00:24:28 UTC (rev 725830) +++ PKGBUILD2020-10-18 00:25:23 UTC (rev 725831) @@ -1,7 +1,7 @@ # Maintainer: Sven-Hendrik Haase pkgname=box2d -pkgver=2.4.0 +pkgver=2.4.1 pkgrel=1 pkgdesc="2D rigid body simulation library for games" url="http://www.box2d.org/; @@ -12,11 +12,11 @@ # We're going to this alternate fork until the patches are upstreamed. # See https://github.com/erincatto/box2d/issues/621 #source=("$pkgname-$pkgver.tar.gz::https://github.com/erincatto/Box2D/archive/v${pkgver}.tar.gz; -source=("https://github.com/jube/box2d/archive/adaedf1772ede7420bc9ee569c8cba7952db91a0.tar.gz;) -sha512sums=('0caf1d0a391cdd4805949f5a2ba7ddd8cbc4dbe853bbf53f0a125eb07d4121ad851575db19f3705b087b222b9c7fcbaec964940b401dcb3df17116ffb6b10b9d') +source=("$pkgname-$pkgver.tar.gz::https://github.com/erincatto/box2d/archive/v2.4.1.tar.gz;) +sha512sums=('d900f925b7790619c91488bdc5e2df1ad1f4a8ca39a574229f5e57070e3a843bdd7530e817112605fde6d82145c872d8afdfc65b84531a73199098c81162') build() { - cd $pkgname-* + cd $pkgname-$pkgver cmake . \ -Bbuild \ @@ -29,13 +29,13 @@ } check() { - cd $pkgname-* + cd $pkgname-$pkgver - build/unit_test + build/bin/unit_test } package() { - cd $pkgname-* + cd $pkgname-$pkgver DESTDIR="$pkgdir" ninja -C build install install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/box2d/LICENSE
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Saturday, August 8, 2020 @ 22:18:35 Author: svenstaro Revision: 672877 box2d is now MIT Modified: box2d/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-08-08 22:14:17 UTC (rev 672876) +++ PKGBUILD2020-08-08 22:18:35 UTC (rev 672877) @@ -5,7 +5,7 @@ pkgrel=1 pkgdesc="2D rigid body simulation library for games" url="http://www.box2d.org/; -license=('custom:zlib') +license=('MIT') arch=('x86_64') depends=('gcc-libs') makedepends=('cmake' 'doxygen' 'ninja')
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Saturday, August 8, 2020 @ 21:38:38 Author: svenstaro Revision: 672875 Run unit tests Modified: box2d/trunk/PKGBUILD --+ PKGBUILD |6 ++ 1 file changed, 6 insertions(+) Modified: PKGBUILD === --- PKGBUILD2020-08-08 21:32:17 UTC (rev 672874) +++ PKGBUILD2020-08-08 21:38:38 UTC (rev 672875) @@ -28,6 +28,12 @@ ninja -C build } +check() { + cd $pkgname-* + + build/unit_test +} + package() { cd $pkgname-*
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Saturday, August 8, 2020 @ 21:32:13 Author: svenstaro Revision: 672873 upgpkg: box2d 2.4.0-1 Modified: box2d/trunk/PKGBUILD --+ PKGBUILD | 48 +--- 1 file changed, 21 insertions(+), 27 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-08-08 20:36:20 UTC (rev 672872) +++ PKGBUILD2020-08-08 21:32:13 UTC (rev 672873) @@ -1,44 +1,38 @@ # Maintainer: Sven-Hendrik Haase pkgname=box2d -pkgver=2.3.1 -pkgrel=5 +pkgver=2.4.0 +pkgrel=1 pkgdesc="2D rigid body simulation library for games" url="http://www.box2d.org/; -license=('zlib') +license=('custom:zlib') arch=('x86_64') -makedepends=('cmake' 'doxygen' 'subversion') -optdepends=() -source=("https://github.com/erincatto/Box2D/archive/v${pkgver}.tar.gz;) -md5sums=('20f1e128f99ddb1634c2ba55a959feb2') +depends=('gcc-libs') +makedepends=('cmake' 'doxygen' 'ninja') +# We're going to this alternate fork until the patches are upstreamed. +# See https://github.com/erincatto/box2d/issues/621 +#source=("$pkgname-$pkgver.tar.gz::https://github.com/erincatto/Box2D/archive/v${pkgver}.tar.gz; +source=("https://github.com/jube/box2d/archive/adaedf1772ede7420bc9ee569c8cba7952db91a0.tar.gz;) +sha512sums=('0caf1d0a391cdd4805949f5a2ba7ddd8cbc4dbe853bbf53f0a125eb07d4121ad851575db19f3705b087b222b9c7fcbaec964940b401dcb3df17116ffb6b10b9d') -prepare() { - mkdir box2d-${pkgver}/Box2D/build -} - build() { - cd box2d-${pkgver}/Box2D/build + cd $pkgname-* - cmake .. \ --DBOX2D_INSTALL=ON \ --DBOX2D_INSTALL_DOC=ON \ --DBOX2D_BUILD_SHARED=ON \ --DBOX2D_BUILD_STATIC=OFF \ --DBOX2D_BUILD_EXAMPLES=OFF \ + cmake . \ +-Bbuild \ +-GNinja \ +-DBOX2D_BUILD_DOCS=ON \ +-DBOX2D_BUILD_TESTBED=OFF \ +-DBUILD_SHARED_LIBS=ON \ -DCMAKE_INSTALL_PREFIX=/usr - make + ninja -C build } package() { - cd box2d-${pkgver}/Box2D/Documentation + cd $pkgname-* - doxygen - - cd ../build - - make DESTDIR="${pkgdir}" install - - install -Dm644 ../License.txt "${pkgdir}"/usr/share/licenses/box2d/LICENSE + DESTDIR="$pkgdir" ninja -C build install + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/box2d/LICENSE } # vim: sw=2 ts=2 et:
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Thursday, January 23, 2020 @ 02:26:38 Author: svenstaro Revision: 554667 Quote variables Modified: box2d/trunk/PKGBUILD --+ PKGBUILD |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-01-23 02:24:56 UTC (rev 554666) +++ PKGBUILD2020-01-23 02:26:38 UTC (rev 554667) @@ -7,7 +7,6 @@ url="http://www.box2d.org/; license=('zlib') arch=('x86_64') -#depends=('freeglut') makedepends=('cmake' 'doxygen' 'subversion') optdepends=() source=("https://github.com/erincatto/Box2D/archive/v${pkgver}.tar.gz;) @@ -37,9 +36,9 @@ cd ../build - make DESTDIR=${pkgdir} install + make DESTDIR="${pkgdir}" install - install -Dm644 ../License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE + install -Dm644 ../License.txt "${pkgdir}"/usr/share/licenses/box2d/LICENSE } # vim: sw=2 ts=2 et:
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Thursday, January 23, 2020 @ 02:20:37 Author: svenstaro Revision: 554663 upgpkg: box2d 2.3.1-5: Modernize package a bit Modified: box2d/trunk/PKGBUILD --+ PKGBUILD | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-01-23 01:13:22 UTC (rev 554662) +++ PKGBUILD2020-01-23 02:20:37 UTC (rev 554663) @@ -1,8 +1,8 @@ -# Maintainer: Sven-Hendrik Haase +# Maintainer: Sven-Hendrik Haase pkgname=box2d pkgver=2.3.1 -pkgrel=4 +pkgrel=5 pkgdesc="2D rigid body simulation library for games" url="http://www.box2d.org/; license=('zlib') @@ -11,14 +11,15 @@ makedepends=('cmake' 'doxygen' 'subversion') optdepends=() source=("https://github.com/erincatto/Box2D/archive/v${pkgver}.tar.gz;) -md5sums=('70e25df706e848dbe611ca5b5c07a4ae') +md5sums=('20f1e128f99ddb1634c2ba55a959feb2') +prepare() { + mkdir box2d-${pkgver}/Box2D/build +} + build() { - cd Box2D-${pkgver}/Box2D + cd box2d-${pkgver}/Box2D/build - msg "Starting build" - [[ -d build ]] && rm -r build - mkdir build && cd build cmake .. \ -DBOX2D_INSTALL=ON \ -DBOX2D_INSTALL_DOC=ON \ @@ -30,7 +31,7 @@ } package() { - cd Box2D-${pkgver}/Box2D/Documentation + cd box2d-${pkgver}/Box2D/Documentation doxygen @@ -40,4 +41,5 @@ install -Dm644 ../License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE } + # vim: sw=2 ts=2 et:
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Friday, November 9, 2018 @ 21:36:33 Author: foutrelis Revision: 404702 PIE/BUILDINFO rebuild Modified: box2d/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-11-09 21:36:32 UTC (rev 404701) +++ PKGBUILD2018-11-09 21:36:33 UTC (rev 404702) @@ -2,7 +2,7 @@ pkgname=box2d pkgver=2.3.1 -pkgrel=3 +pkgrel=4 pkgdesc="2D rigid body simulation library for games" url="http://www.box2d.org/; license=('zlib')
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Monday, September 5, 2016 @ 19:13:14 Author: svenstaro Revision: 188598 upgpkg: box2d 2.3.1-3 Fix source Modified: box2d/trunk/PKGBUILD --+ PKGBUILD | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-09-05 18:59:45 UTC (rev 188597) +++ PKGBUILD2016-09-05 19:13:14 UTC (rev 188598) @@ -3,7 +3,7 @@ pkgname=box2d pkgver=2.3.1 -pkgrel=2 +pkgrel=3 pkgdesc="2D rigid body simulation library for games" url="http://www.box2d.org/; license=('zlib') @@ -11,15 +11,15 @@ #depends=('freeglut') makedepends=('cmake' 'doxygen' 'subversion') optdepends=() -source=("${pkgname}-${pkgver}::svn+http://box2d.googlecode.com/svn/tags/v${pkgver};) -md5sums=('SKIP') +source=("https://github.com/erincatto/Box2D/archive/v${pkgver}.tar.gz;) +md5sums=('70e25df706e848dbe611ca5b5c07a4ae') build() { - cd ${srcdir}/${pkgname}-${pkgver}/Box2D - + cd Box2D-${pkgver}/Box2D + msg "Starting build" [[ -d build ]] && rm -r build - mkdir build && cd build + mkdir build && cd build cmake .. \ -DBOX2D_INSTALL=ON \ -DBOX2D_INSTALL_DOC=ON \ @@ -31,9 +31,8 @@ } package() { - cd ${srcdir}/${pkgname}-${pkgver}/Box2D + cd Box2D-${pkgver}/Box2D/Documentation - cd Documentation doxygen cd ../build @@ -40,6 +39,6 @@ make DESTDIR=${pkgdir} install - install -Dm644 ${srcdir}/${pkgname}-${pkgver}/Box2D/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE + install -Dm644 ../License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE } # vim: sw=2 ts=2 et:
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Sunday, December 6, 2015 @ 17:43:30 Author: foutrelis Revision: 148899 C++11 ABI rebuild Modified: box2d/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-12-06 16:42:32 UTC (rev 148898) +++ PKGBUILD2015-12-06 16:43:30 UTC (rev 148899) @@ -3,7 +3,7 @@ pkgname=box2d pkgver=2.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="2D rigid body simulation library for games" url="http://www.box2d.org/; license=('zlib')
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Thursday, June 4, 2015 @ 08:58:35 Author: svenstaro Revision: 134739 Fix svn - subversion Modified: box2d/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-06-04 05:46:38 UTC (rev 134738) +++ PKGBUILD2015-06-04 06:58:35 UTC (rev 134739) @@ -9,7 +9,7 @@ license=('zlib') arch=('i686' 'x86_64') #depends=('freeglut') -makedepends=('cmake' 'doxygen' 'svn') +makedepends=('cmake' 'doxygen' 'subversion') optdepends=() source=(${pkgname}-${pkgver}::svn+http://box2d.googlecode.com/svn/tags/v${pkgver};) md5sums=('SKIP')
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Friday, June 20, 2014 @ 18:54:57 Author: spupykin Revision: 113373 avoid name collision in shared source cache Modified: box2d/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-06-20 01:20:45 UTC (rev 113372) +++ PKGBUILD2014-06-20 16:54:57 UTC (rev 113373) @@ -11,11 +11,11 @@ #depends=('freeglut') makedepends=('cmake' 'doxygen' 'svn') optdepends=() -source=(svn+http://box2d.googlecode.com/svn/tags/v${pkgver}) +source=(${pkgname}-${pkgver}::svn+http://box2d.googlecode.com/svn/tags/v${pkgver};) md5sums=('SKIP') build() { - cd ${srcdir}/v${pkgver}/Box2D + cd ${srcdir}/${pkgname}-${pkgver}/Box2D msg Starting build [[ -d build ]] rm -r build @@ -31,7 +31,7 @@ } package() { - cd ${srcdir}/v${pkgver}/Box2D + cd ${srcdir}/${pkgname}-${pkgver}/Box2D cd Documentation doxygen @@ -40,6 +40,6 @@ make DESTDIR=${pkgdir} install - install -Dm644 ${srcdir}/v${pkgver}/Box2D/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE + install -Dm644 ${srcdir}/${pkgname}-${pkgver}/Box2D/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE } # vim: sw=2 ts=2 et:
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Monday, April 21, 2014 @ 14:48:40 Author: svenstaro Revision: 109902 Fix FS#39943 Modified: box2d/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-04-21 11:55:31 UTC (rev 109901) +++ PKGBUILD2014-04-21 12:48:40 UTC (rev 109902) @@ -9,7 +9,7 @@ license=('zlib') arch=('i686' 'x86_64') #depends=('freeglut') -makedepends=('cmake' 'doxygen') +makedepends=('cmake' 'doxygen' 'svn') optdepends=() source=(svn+http://box2d.googlecode.com/svn/tags/v${pkgver}) md5sums=('SKIP')
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Monday, April 7, 2014 @ 20:07:53 Author: svenstaro Revision: 108927 upgpkg: box2d 2.3.1-1 upstream release 2.3.1 Modified: box2d/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-04-07 17:22:53 UTC (rev 108926) +++ PKGBUILD2014-04-07 18:07:53 UTC (rev 108927) @@ -2,7 +2,7 @@ # Maintainer: Sven-Hendrik Haase s...@lutzhaase.com pkgname=box2d -pkgver=2.3.0 +pkgver=2.3.1 pkgrel=1 pkgdesc=2D rigid body simulation library for games url=http://www.box2d.org/;
[arch-commits] Commit in box2d/trunk (PKGBUILD)
Date: Wednesday, November 6, 2013 @ 14:53:48 Author: svenstaro Revision: 100619 upgpkg: box2d 2.3.0-1 Updating to 2.3.0 Modified: box2d/trunk/PKGBUILD --+ PKGBUILD | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-11-06 13:35:33 UTC (rev 100618) +++ PKGBUILD2013-11-06 13:53:48 UTC (rev 100619) @@ -2,20 +2,20 @@ # Maintainer: Sven-Hendrik Haase s...@lutzhaase.com pkgname=box2d -pkgver=2.2.1 -pkgrel=2 +pkgver=2.3.0 +pkgrel=1 pkgdesc=2D rigid body simulation library for games url=http://www.box2d.org/; license=('zlib') arch=('i686' 'x86_64') #depends=('freeglut') -makedepends=('cmake') +makedepends=('cmake' 'doxygen') optdepends=() -source=(http://box2d.googlecode.com/files/Box2D_v${pkgver}.zip) -md5sums=('9e9d32a34fb5554c47f0f9cade0fa611') +source=(svn+http://box2d.googlecode.com/svn/tags/v${pkgver}) +md5sums=('SKIP') build() { - cd ${srcdir}/Box2D_v${pkgver} + cd ${srcdir}/v${pkgver}/Box2D msg Starting build [[ -d build ]] rm -r build @@ -22,8 +22,9 @@ mkdir build cd build cmake .. \ -DBOX2D_INSTALL=ON \ +-DBOX2D_INSTALL_DOC=ON \ -DBOX2D_BUILD_SHARED=ON \ --DBOX2D_BUILD_STATIC=ON \ +-DBOX2D_BUILD_STATIC=OFF \ -DBOX2D_BUILD_EXAMPLES=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make @@ -30,15 +31,15 @@ } package() { - cd ${srcdir}/Box2D_v${pkgver}/build + cd ${srcdir}/v${pkgver}/Box2D + cd Documentation + doxygen + + cd ../build + make DESTDIR=${pkgdir} install - mkdir -p ${pkgdir}/usr/share/doc/box2d/ - cp -r ${srcdir}/Box2D_v${pkgver}/Documentation/* ${pkgdir}/usr/share/doc/box2d/ - find ${pkgdir}/usr/share/doc/box2d/ -type f | xargs chmod 644 - find ${pkgdir}/usr/share/doc/box2d/ -type d | xargs chmod 755 - - install -Dm644 ${srcdir}/Box2D_v${pkgver}/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE + install -Dm644 ${srcdir}/v${pkgver}/Box2D/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE } # vim: sw=2 ts=2 et: