summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan2016-10-15 00:12:41 +0800
committerTing-Wei Lan2016-10-15 00:18:56 +0800
commitecd23b56337f18791b4c3006640b8f1c1ce173e5 (patch)
tree0f8a07d05431c2095c5106dc6d6f309492f58399
parent093b11cbbb683aa126c296f47ae6a4918ca03f2c (diff)
downloadaur-ecd23b56337f18791b4c3006640b8f1c1ce173e5.tar.gz
mingw-w64-{{adwaita,hicolor}-icon-theme,libepoxy}: Sync striping scripts
Use the same striping scripts in all MinGW packages maintained by me.
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2c7c8e36c2d..b4f40fd4f01 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,9 +30,9 @@ package() {
for _arch in ${_architectures}; do
cd "build-${_arch}"
make DESTDIR="$pkgdir" install
- find "$pkgdir/usr/${_arch}" -name '*.exe' -o -name '*.bat' -o -name '*.def' -o -name '*.exp' -o -name '*.manifest' | xargs -rtl1 rm
- find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip --strip-unneeded
- find "$pkgdir/usr/${_arch}" -name '*.a' | xargs -rtl1 ${_arch}-strip -g
+ find "$pkgdir/usr/${_arch}" -name '*.exe' | xargs -rtL1 ${_arch}-strip
+ find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtL1 ${_arch}-strip --strip-unneeded
+ find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs -rtL1 ${_arch}-strip -g
cd ..
done
}