diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 18 insertions, 15 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Mon Jun 6 19:33:29 UTC 2016 pkgbase = mingw-w64-libfilezilla - pkgdesc = Library used by FileZilla (mingw-w64) - pkgver = 0.5.2 + pkgdesc = Small and modern C++ library, offering some basic functionality to build high-performing, platform-independent programs (mingw-w64) + pkgver = 0.12.2 pkgrel = 1 url = https://filezilla-project.org/ arch = any @@ -12,8 +10,9 @@ pkgbase = mingw-w64-libfilezilla options = staticlibs options = !strip options = !buildflags - source = http://downloads.sourceforge.net/project/filezilla/libfilezilla/0.5.2/libfilezilla-0.5.2.tar.bz2 - md5sums = be50726969cabda0f1b1c9ee432c1f4e + options = !makeflags + source = http://download.filezilla-project.org/libfilezilla/libfilezilla-0.12.2.tar.bz2 + md5sums = 79c95ee58bc8db2fa3690a36ece25a6d pkgname = mingw-w64-libfilezilla @@ -5,18 +5,18 @@ _name=libfilezilla pkgname=mingw-w64-libfilezilla -pkgver=0.5.2 +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://downloads.sourceforge.net/project/filezilla/libfilezilla/${pkgver}/${_name}-${pkgver}.tar.bz2") -md5sums=('be50726969cabda0f1b1c9ee432c1f4e') +source=("http://download.filezilla-project.org/libfilezilla/libfilezilla-$pkgver.tar.bz2") +md5sums=('79c95ee58bc8db2fa3690a36ece25a6d') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" @@ -26,9 +26,12 @@ prepare() { } build() { + export CXXFLAGS='-O0' for _arch in ${_architectures}; do mkdir -p "${srcdir}/${_name}-${pkgver}/build-${_arch}" && cd "${srcdir}/${_name}-${pkgver}/build-${_arch}" - ${_arch}-configure + ${_arch}-configure --disable-shared + # shared build doesn't work because 'fz::simple_event<fz::timer_event_type, unsigned long long>::type()' + # is not exportet correctly make done } @@ -37,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 } |