diff options
author | Schala | 2016-08-17 18:33:33 -0700 |
---|---|---|
committer | Schala | 2016-08-17 18:33:33 -0700 |
commit | 13eb63c943acb448c4edac7bca0565983f48c869 (patch) | |
tree | 441d2fffc9a48a114a382b1d6e568398123d7c3a /PKGBUILD | |
parent | 0f95255bc39126f60f72eedec77b8d9e123e3f10 (diff) | |
download | aur-13eb63c943acb448c4edac7bca0565983f48c869.tar.gz |
strip all from EXEs
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgname=mingw-w64-aspell pkgver=0.60.6.1 _pkgmajorver=0.60 -pkgrel=2 +pkgrel=3 pkgdesc="A spell checker designed to eventually replace Ispell (mingw-w64)" arch=(any) url="http://aspell.net/" @@ -72,7 +72,8 @@ package() { cd "${srcdir}/build-${_arch}" make -j1 DESTDIR="$pkgdir" install ln -s "/usr/${_arch}/lib/aspell-$_pkgmajorver" "${pkgdir}/usr/${_arch}/lib/aspell" - find "$pkgdir/usr/${_arch}" -name '*.dll' -o -name '*.exe' | xargs ${_arch}-strip --strip-unneeded + find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \; + find "$pkgdir/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip {} \; find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g rm "$pkgdir/usr/${_arch}/share/info/dir" done |