diff options
author | Andrew Sun | 2018-06-14 21:38:05 -0400 |
---|---|---|
committer | Andrew Sun | 2018-06-14 21:38:05 -0400 |
commit | 1a44c19af1a0308e9e9c67a0420ba12d05c06a81 (patch) | |
tree | d9b9b295252f5143c9cf40500d547d973ebfdef6 | |
parent | 34a1240b5bac0346f7947833318c7c0e84813548 (diff) | |
download | aur-1a44c19af1a0308e9e9c67a0420ba12d05c06a81.tar.gz |
strip libraries
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -52,6 +52,8 @@ package() { for _arch in ${_architectures}; do cd "${srcdir}/libtre/build-${_arch}" make DESTDIR="$pkgdir" install + ${_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" done } |