diff options
author | Andrew Sun | 2018-07-26 22:01:07 -0400 |
---|---|---|
committer | Andrew Sun | 2018-07-26 22:01:07 -0400 |
commit | f3c3629ad0d16097aa98d9086d320d00dc25789d (patch) | |
tree | 111e44ae7169ada56427b9b8b75f42ace511b35f | |
parent | 1a44c19af1a0308e9e9c67a0420ba12d05c06a81 (diff) | |
download | aur-f3c3629ad0d16097aa98d9086d320d00dc25789d.tar.gz |
mingw-w64-libtre-git: strip executables
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = mingw-w64-libtre-git pkgdesc = The approximate regex matching library and agrep command line tool (mingw-w64) pkgver = r128.6fb7206 - pkgrel = 1 + pkgrel = 2 url = https://github.com/laurikari/tre arch = any license = BSD @@ -2,7 +2,7 @@ pkgname=mingw-w64-libtre-git pkgver=r128.6fb7206 -pkgrel=1 +pkgrel=2 arch=(any) pkgdesc="The approximate regex matching library and agrep command line tool (mingw-w64)" depends=('mingw-w64-crt' 'mingw-w64-gettext') @@ -52,6 +52,7 @@ package() { for _arch in ${_architectures}; do cd "${srcdir}/libtre/build-${_arch}" make DESTDIR="$pkgdir" install + ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.exe ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a install -Dm644 "${srcdir}/libtre/LICENSE" "${pkgdir}/usr/${_arch}/share/licenses/libtre/LICENSE" |