Update mingw-w64-libfilezilla to 0.12.2

This commit is contained in:
Martchus 2018-06-11 20:52:51 +02:00
parent 4a37d87b49
commit 9d1d5299da
1 changed files with 8 additions and 7 deletions

View File

@ -5,18 +5,18 @@
_name=libfilezilla
pkgname=mingw-w64-libfilezilla
pkgver=0.9.1
pkgver=0.12.2
pkgrel=1
pkgdesc="Library used by FileZilla (mingw-w64)"
pkgdesc='Small and modern C++ library, offering some basic functionality to build high-performing, platform-independent programs (mingw-w64)'
arch=('any')
url="https://filezilla-project.org/"
url='https://filezilla-project.org/'
license=('GPL')
depends=('mingw-w64-crt')
makedepends=('mingw-w64-configure')
options=(staticlibs !strip !buildflags)
options=(staticlibs !strip !buildflags !makeflags)
install=
source=("http://download.filezilla-project.org/libfilezilla/libfilezilla-$pkgver.tar.bz2")
md5sums=('4676304b048869ab6ac6ae09a1ab29f9')
md5sums=('79c95ee58bc8db2fa3690a36ece25a6d')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
@ -40,7 +40,8 @@ package() {
for _arch in ${_architectures}; do
cd "${srcdir}/${_name}-${pkgver}/build-${_arch}"
make DESTDIR="${pkgdir}" install
${_arch}-strip -g "${pkgdir}/usr/${_arch}/lib/"*.a
#${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
find "${pkgdir}/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip --strip-all {} \;
find "${pkgdir}/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \;
find "${pkgdir}/usr/${_arch}" -name '*.a' -exec ${_arch}-strip -g {} \;
done
}