diff options
author | Michel Zou | 2017-10-14 18:00:11 +0200 |
---|---|---|
committer | Michel Zou | 2017-10-14 18:00:11 +0200 |
commit | d9fcb579da0b0d810f60c8af614d124f23d93926 (patch) | |
tree | 076454925920236a52a4719ca3c2d01f0d29db8b /PKGBUILD | |
parent | 06dddf1999d7850d8eca179735a339e0aa086710 (diff) | |
download | aur-d9fcb579da0b0d810f60c8af614d124f23d93926.tar.gz |
2.87
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -3,7 +3,7 @@ # Contributor: Paul Bienkowski <opatutlol@aol.com> # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> pkgname=mingw-w64-bullet -pkgver=2.86.1 +pkgver=2.87 pkgrel=1 pkgdesc="A 3D Collision Detection and Rigid Body Dynamics Library for games and animation (mingw-w64)" arch=('any') @@ -13,12 +13,16 @@ depends=('mingw-w64-crt') options=('!strip' '!buildflags' 'staticlibs') makedepends=('mingw-w64-cmake') source=("https://github.com/bulletphysics/bullet3/archive/${pkgver}.tar.gz") -sha1sums=('d0a4878ccc166902f0dcb822669d1a8e4ccc8642') +sha1sums=('31c6f6c4116f4d919eaa5119f9131bedc64d3951') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" prepare () { cd ${srcdir}/bullet3-${pkgver} + sed -i "s|FIND_PACKAGE(PythonLibs|#|g" CMakeLists.txt + sed -i "s|Ws2tcpip.h|ws2tcpip.h|g" examples/ThirdPartyLibs/clsocket/src/SimpleSocket.h + sed -i "s|Winsock2.h|winsock2.h|g" examples/ThirdPartyLibs/clsocket/src/StatTimer.h + echo "target_link_libraries (BulletRobotics ws2_32 winmm)" >> Extras/BulletRobotics/CMakeLists.txt } build() { @@ -43,7 +47,6 @@ package() { for _arch in ${_architectures}; do cd "${srcdir}/bullet3-${pkgver}/build-${_arch}" make DESTDIR="${pkgdir}" install - mv "${pkgdir}"/usr/${_arch}/lib/*.dll "$pkgdir"/usr/${_arch}/bin/ ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a done |