summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartchus2017-09-18 21:00:34 +0200
committerMartchus2017-09-18 21:00:34 +0200
commit9f2cff915067bd8f80aff2ad52894c012b15b972 (patch)
tree98deaecc75cb81fd14055d8ecb25bd65fca6a84a
parent120503f96c39acecc4ca0535c6eb0b0dafb0cfc6 (diff)
downloadaur-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--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 9 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1af5beb5333e..d690ab7677cb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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,
diff --git a/PKGBUILD b/PKGBUILD
index c90bd59695a3..27cff6bf30ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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