summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e3fe42a005e..dc69434f0bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,17 @@
# Maintainer: edub4rt <edub4rt@gmail.com>
pkgname=mingw-w64-physfs
_basename=physfs
-pkgver=3.0.1
-pkgrel=3
+pkgver=3.0.2
+pkgrel=1
pkgdesc="A library to provide abstract access to various archives (mingw-w64)"
arch=('any')
url="http://icculus.org/physfs/"
license=('ZLIB')
-makedepends=('mingw-w64-gcc' 'mingw-w64-crt' 'mingw-w64-cmake')
+makedepends=('mingw-w64-cmake')
depends=('mingw-w64-zlib')
options=(staticlibs '!strip' '!buildflags' '!makeflags')
source=(http://icculus.org/physfs/downloads/${_basename}-${pkgver}.tar.bz2)
-sha1sums=('9959a7acad0aa30d1a86d3a418e61155b0ac533c')
+sha1sums=('6a15c458898d0570101d8f173201cde9ced78df7')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
@@ -26,7 +26,6 @@ build() {
mkdir build-${_arch}
cd build-${_arch}
${_arch}-cmake \
- -DCMAKE_BUILD_TYPE=Release \
-DPHYSFS_BUILD_TEST=OFF \
-DPHYSFS_BUILD_WX_TEST=OFF ..
make all
@@ -39,6 +38,8 @@ package() {
for _arch in ${_architectures}; do
cd build-${_arch}
make DESTDIR=${pkgdir} install
+ ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
+ ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
cd ..
done
}