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 | |
parent | 0f95255bc39126f60f72eedec77b8d9e123e3f10 (diff) | |
download | aur-13eb63c943acb448c4edac7bca0565983f48c869.tar.gz |
strip all from EXEs
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Thu Aug 18 01:27:55 UTC 2016 +# Thu Aug 18 01:33:19 UTC 2016 pkgbase = mingw-w64-aspell pkgdesc = A spell checker designed to eventually replace Ispell (mingw-w64) pkgver = 0.60.6.1 - pkgrel = 2 + pkgrel = 3 url = http://aspell.net/ arch = any license = LGPL @@ -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 |