summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-09-28 11:38:16 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-09-28 11:38:16 -0500
commit08689b7f5b3353cf8a70321449215ba4319ed6d1 (patch)
tree0aa98985912d15991d766ee8a0a4253cb0b09efd
parent339250d6a0c7837009f059f741df099d57c43820 (diff)
Commiting libre package box2d-2.2.1-1
-rw-r--r--community/box2d/PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/community/box2d/PKGBUILD b/community/box2d/PKGBUILD
index 68813a14f..64d037453 100644
--- a/community/box2d/PKGBUILD
+++ b/community/box2d/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 55402 2011-09-12 02:48:21Z svenstaro $
+# $Id: PKGBUILD 55963 2011-09-27 03:30:57Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=box2d
-pkgver=2.2.0
+pkgver=2.2.1
pkgrel=1
pkgdesc="2D rigid body simulation library for games"
url="http://www.box2d.org/"
@@ -12,10 +12,10 @@ arch=('i686' 'x86_64' 'mips64el')
makedepends=('cmake')
optdepends=()
source=(http://box2d.googlecode.com/files/Box2D_v${pkgver}.zip)
-md5sums=('220f1d604444d00844cc91933c07ecd8')
+md5sums=('9e9d32a34fb5554c47f0f9cade0fa611')
build() {
- cd ${srcdir}/Box2D_v${pkgver}/Box2D/
+ cd ${srcdir}/Box2D_v${pkgver}
msg "Starting build"
[[ -d build ]] && rm -r build
@@ -30,15 +30,15 @@ build() {
}
package() {
- cd ${srcdir}/Box2D_v${pkgver}/Box2D/build
+ cd ${srcdir}/Box2D_v${pkgver}/build
- make DESTDIR=${pkgdir} install
+ make DESTDIR=${pkgdir} install
mkdir -p ${pkgdir}/usr/share/doc/box2d/
- cp -r ${srcdir}/Box2D_v${pkgver}/Box2D/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
+ 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}/Box2D/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE
+ install -Dm644 ${srcdir}/Box2D_v${pkgver}/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE
}
# vim: sw=2 ts=2 et: