[arch-commits] Commit in box2d/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Dec 6 16:43:41 UTC 2015
Date: Sunday, December 6, 2015 @ 17:43:41
Author: foutrelis
Revision: 148900
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
box2d/repos/community-staging-i686/
box2d/repos/community-staging-i686/PKGBUILD
(from rev 148899, box2d/trunk/PKGBUILD)
box2d/repos/community-staging-x86_64/
box2d/repos/community-staging-x86_64/PKGBUILD
(from rev 148899, box2d/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
Copied: box2d/repos/community-staging-i686/PKGBUILD (from rev 148899, box2d/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 16:43:41 UTC (rev 148900)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=box2d
+pkgver=2.3.1
+pkgrel=2
+pkgdesc="2D rigid body simulation library for games"
+url="http://www.box2d.org/"
+license=('zlib')
+arch=('i686' 'x86_64')
+#depends=('freeglut')
+makedepends=('cmake' 'doxygen' 'subversion')
+optdepends=()
+source=("${pkgname}-${pkgver}::svn+http://box2d.googlecode.com/svn/tags/v${pkgver}")
+md5sums=('SKIP')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}/Box2D
+
+ msg "Starting build"
+ [[ -d build ]] && rm -r build
+ mkdir build && cd build
+ cmake .. \
+ -DBOX2D_INSTALL=ON \
+ -DBOX2D_INSTALL_DOC=ON \
+ -DBOX2D_BUILD_SHARED=ON \
+ -DBOX2D_BUILD_STATIC=OFF \
+ -DBOX2D_BUILD_EXAMPLES=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}/Box2D
+
+ cd Documentation
+ doxygen
+
+ cd ../build
+
+ make DESTDIR=${pkgdir} install
+
+ install -Dm644 ${srcdir}/${pkgname}-${pkgver}/Box2D/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE
+}
+# vim: sw=2 ts=2 et:
Copied: box2d/repos/community-staging-x86_64/PKGBUILD (from rev 148899, box2d/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-06 16:43:41 UTC (rev 148900)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=box2d
+pkgver=2.3.1
+pkgrel=2
+pkgdesc="2D rigid body simulation library for games"
+url="http://www.box2d.org/"
+license=('zlib')
+arch=('i686' 'x86_64')
+#depends=('freeglut')
+makedepends=('cmake' 'doxygen' 'subversion')
+optdepends=()
+source=("${pkgname}-${pkgver}::svn+http://box2d.googlecode.com/svn/tags/v${pkgver}")
+md5sums=('SKIP')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}/Box2D
+
+ msg "Starting build"
+ [[ -d build ]] && rm -r build
+ mkdir build && cd build
+ cmake .. \
+ -DBOX2D_INSTALL=ON \
+ -DBOX2D_INSTALL_DOC=ON \
+ -DBOX2D_BUILD_SHARED=ON \
+ -DBOX2D_BUILD_STATIC=OFF \
+ -DBOX2D_BUILD_EXAMPLES=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}/Box2D
+
+ cd Documentation
+ doxygen
+
+ cd ../build
+
+ make DESTDIR=${pkgdir} install
+
+ install -Dm644 ${srcdir}/${pkgname}-${pkgver}/Box2D/License.txt ${pkgdir}/usr/share/licenses/box2d/LICENSE
+}
+# vim: sw=2 ts=2 et:
More information about the arch-commits
mailing list