diff options
author | Martchus | 2017-09-18 21:00:34 +0200 |
---|---|---|
committer | Martchus | 2017-09-18 21:00:34 +0200 |
commit | 9f2cff915067bd8f80aff2ad52894c012b15b972 (patch) | |
tree | 98deaecc75cb81fd14055d8ecb25bd65fca6a84a | |
parent | 120503f96c39acecc4ca0535c6eb0b0dafb0cfc6 (diff) | |
download | aur-9f2cff915067bd8f80aff2ad52894c012b15b972.tar.gz |
Remove crypt32 and ncrypt from mingw-w64-gnutls
Those libs are conflicting with mingw-w64-crt and are likely
only mocks for the testsuite.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 9 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Sep 4 16:46:44 UTC 2017 +# Mon Sep 18 19:00:34 UTC 2017 pkgbase = mingw-w64-gnutls pkgdesc = A library which provides a secure layer over a reliable transport layer (mingw-w64) pkgver = 3.5.15 - pkgrel = 1 + pkgrel = 2 url = http://www.gnu.org/software/gnutls arch = any license = GPL3, @@ -2,7 +2,7 @@ pkgname=mingw-w64-gnutls pkgver=3.5.15 -pkgrel=1 +pkgrel=2 pkgdesc='A library which provides a secure layer over a reliable transport layer (mingw-w64)' arch=('any') url="http://www.gnu.org/software/gnutls" @@ -56,6 +56,12 @@ package() { for _arch in ${_architectures}; do cd "${srcdir}/gnutls-${pkgver}/build-${_arch}" make DESTDIR="$pkgdir" install + + # remove libraries which conflict with libraries provided by mingw-w64-crt + # (those libs are likely only mocks for the testsuite) + rm "$pkgdir"/usr/${_arch}/lib/crypt32{.a,.dll.a,.dll} + rm "$pkgdir"/usr/${_arch}/lib/ncrypt{.a,.dll.a,.dll} + ${_arch}-strip --strip-all "$pkgdir"/usr/${_arch}/bin/*.exe ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a |