summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkfg2015-12-26 22:59:22 +0100
committerkfg2015-12-26 22:59:22 +0100
commit5be2283c7b5eec5572a70e591ea120c57dc43be6 (patch)
tree628bb96e8d5dafbbb6ec39ca64bea5aeb34fc4c7
parente2d2a077479521fb9da56639f9765f674f12f713 (diff)
downloadaur-5be2283c7b5eec5572a70e591ea120c57dc43be6.tar.gz
Strip libraries
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ec25e864454..271b7bbbf7a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Dec 26 15:12:32 UTC 2015
+# Sat Dec 26 21:51:52 UTC 2015
pkgbase = mingw-w64-libssh
pkgdesc = Library for accessing ssh client services through C libraries (mingw-w64)
pkgver = 0.7.2
- pkgrel = 3
+ pkgrel = 4
url = http://www.libssh.org/
arch = any
license = LGPL
diff --git a/PKGBUILD b/PKGBUILD
index 658daffd67e3..4a70e68665e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=mingw-w64-libssh
pkgver=0.7.2
-pkgrel=3
+pkgrel=4
pkgdesc="Library for accessing ssh client services through C libraries (mingw-w64)"
url="http://www.libssh.org/"
license=('LGPL')
@@ -72,5 +72,8 @@ package(){
cd "${srcdir}"/build-${_arch}
make DESTDIR="${pkgdir}" install
+
+ ${_arch}-strip --strip-unneeded "${pkgdir}"/usr/${_arch}/bin/*.dll
+ ${_arch}-strip -g "${pkgdir}"/usr/${_arch}/lib/*.a
done
}