box2d 2.3.0

opengoo 20140729
parent 8fb31b36
......@@ -6,25 +6,22 @@
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=box2d
pkgver=2.2.1
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')
depends=('libgl')
makedepends=('cmake')
optdepends=()
source=(http://box2d.googlecode.com/files/Box2D_v${pkgver}.zip)
md5sums=('9e9d32a34fb5554c47f0f9cade0fa611')
source=(http://box2d.googlecode.com/files/Box2D_v${pkgver}.7z)
md5sums=('696a457fc6260a9bb6d2c380b9100279')
build() {
cd ${srcdir}/Box2D_v${pkgver}
cd ${srcdir}/Box2D_v${pkgver}/Box2D
msg "Starting build"
[[ -d build ]] && rm -r build
mkdir build && cd build
cmake .. \
cmake . \
-DBOX2D_INSTALL=ON \
-DBOX2D_BUILD_SHARED=ON \
-DBOX2D_BUILD_STATIC=ON \
......@@ -34,14 +31,14 @@ build() {
}
package() {
cd ${srcdir}/Box2D_v${pkgver}/build
cd ${srcdir}/Box2D_v${pkgver}/Box2D
make DESTDIR=${pkgdir} install
mkdir -p ${pkgdir}/usr/share/doc/box2d/
cp -r ${srcdir}/Box2D_v${pkgver}/Documentation/* ${pkgdir}/usr/share/doc/box2d/
cp -r 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
}
\ No newline at end of file
install -Dm644 License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE
}
......@@ -6,7 +6,7 @@
pkgname=opengoo
_pkgname=OpenGOO
_developer=Mandarancio
pkgver=20131130
pkgver=20140729
pkgrel=1
pkgdesc="Clone of World of GOO™"
arch=('i686' 'x86_64')
......@@ -16,7 +16,7 @@ license=('GPL3')
depends=('box2d' 'qt5-base')
categories=('games')
source=($pkgname-$pkgver.tar.gz::https://github.com/$_developer/$_pkgname/tarball/master)
md5sums=('c351bdc91b85040b6f6746abcccac133')
md5sums=('6a3474ebac5085174d3f4e16cc5d0c22')
build() {
cd $srcdir/$_developer-$_pkgname*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment