diff options
author | Michel Zou | 2017-05-08 10:04:02 +0200 |
---|---|---|
committer | Michel Zou | 2017-05-08 10:04:02 +0200 |
commit | e4efda6a909c1b5224e96e0818c7e473d6e674d5 (patch) | |
tree | 52dffcf733db678abd6fd57530cccccc2827813f | |
parent | 794600abf646c71166ef515bbeea64d25757bced (diff) | |
download | aur-e4efda6a909c1b5224e96e0818c7e473d6e674d5.tar.gz |
2.0.2
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 9 insertions, 19 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Mon Feb 6 18:08:47 UTC 2017 +# Mon May 8 08:04:02 UTC 2017 pkgbase = mingw-w64-libidn2 pkgdesc = A free software implementation of IDNA2008 (mingw-w64) - pkgver = 0.16 + pkgver = 2.0.2 pkgrel = 1 url = http://www.gnu.org/software/libidn arch = any @@ -13,9 +13,9 @@ pkgbase = mingw-w64-libidn2 options = staticlibs options = !strip options = !buildflags - source = http://alpha.gnu.org/gnu/libidn/libidn2-0.16.tar.gz + source = https://ftp.gnu.org/pub/gnu/libidn/libidn2-2.0.2.tar.gz source = libidn2-mingw.patch - sha1sums = 26311b538897a8ed0569922132f2139ee3ec6a28 + sha1sums = 41d862133af08e33dde166505a0d1a2ccd5a5438 sha1sums = SKIP pkgname = mingw-w64-libidn2 @@ -1,5 +1,5 @@ pkgname=mingw-w64-libidn2 -pkgver=0.16 +pkgver=2.0.2 pkgrel=1 pkgdesc="A free software implementation of IDNA2008 (mingw-w64)" arch=(any) @@ -8,24 +8,13 @@ license=("GPL3, LGPL3") makedepends=(mingw-w64-configure) depends=(mingw-w64-crt mingw-w64-libunistring) options=(staticlibs !strip !buildflags) -source=("http://alpha.gnu.org/gnu/libidn/libidn2-${pkgver}.tar.gz" +source=("https://ftp.gnu.org/pub/gnu/libidn/libidn2-${pkgver}.tar.gz" libidn2-mingw.patch) -sha1sums=('26311b538897a8ed0569922132f2139ee3ec6a28' - SKIP) +sha1sums=('41d862133af08e33dde166505a0d1a2ccd5a5438' + 'SKIP') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" -prepare() { - cd "${srcdir}/libidn2-${pkgver}" - # undefined refs to getline, error - patch -p1 -i "${srcdir}"/libidn2-mingw.patch - # do not build tr46map_data.c/gentr46map.c - sed -i "66,71d" Makefile.am - # disable doc - sed -i "s|src doc|src|g" Makefile.am - autoreconf -vfi -} - build() { cd "${srcdir}/libidn2-${pkgver}" for _arch in ${_architectures}; do @@ -41,6 +30,7 @@ package() { cd "${srcdir}/libidn2-${pkgver}/build-${_arch}" make DESTDIR="$pkgdir" install rm "$pkgdir"/usr/${_arch}/bin/*.exe + rm -r "$pkgdir"/usr/${_arch}/share ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a done |