summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Bart2019-03-24 07:23:54 -0300
committerEduardo Bart2019-03-24 07:23:54 -0300
commita8097c1f8fad730ed4e38d0ca514776b022fe89e (patch)
tree8b8b7a0eafe1480bd0af493f690e988ee25987e2
parent4e04b14d401902ff5c0c164a925c5e97d4f2878d (diff)
downloadaur-mingw-w64-physfs.tar.gz
Update to 3.0.2
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d8f6e72f6aa..4e4441dc71d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,18 @@
pkgbase = mingw-w64-physfs
pkgdesc = A library to provide abstract access to various archives (mingw-w64)
- pkgver = 3.0.1
- pkgrel = 3
+ pkgver = 3.0.2
+ pkgrel = 1
url = http://icculus.org/physfs/
arch = any
license = ZLIB
- makedepends = mingw-w64-gcc
- makedepends = mingw-w64-crt
makedepends = mingw-w64-cmake
depends = mingw-w64-zlib
options = staticlibs
options = !strip
options = !buildflags
options = !makeflags
- source = http://icculus.org/physfs/downloads/physfs-3.0.1.tar.bz2
- sha1sums = 9959a7acad0aa30d1a86d3a418e61155b0ac533c
+ source = http://icculus.org/physfs/downloads/physfs-3.0.2.tar.bz2
+ sha1sums = 6a15c458898d0570101d8f173201cde9ced78df7
pkgname = mingw-w64-physfs
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
}