summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKarl-Felix Glatzer2017-04-14 11:56:54 +0200
committerKarl-Felix Glatzer2017-04-14 11:56:54 +0200
commit9583f6496c8bf8c4be829282373486bc79026c7f (patch)
tree25b891598fb443f8f1e6a626905098f528eb77b4 /PKGBUILD
parente48d3995fadb51db55e929caa900d928464b8d87 (diff)
downloadaur-mingw-w64-dcadec.tar.gz
keep EXEs
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 18731edb2d9b..4195cd817207 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=mingw-w64-dcadec
pkgver=0.2.0
-pkgrel=1
+pkgrel=2
pkgdesc='DTS Coherent Acoustics decoder with support for HD extensions (mingw-w64)'
arch=('any')
url='https://github.com/foo86/dcadec.git'
@@ -45,8 +45,8 @@ package() {
CONFIG_SHARED='TRUE' make DESTDIR="${pkgdir}" install
mv "${pkgdir}"/usr/${_arch}/lib/*.dll "${pkgdir}"/usr/${_arch}/bin/
mv "${srcdir}"/build-${_arch}/libdcadec/*.a "${pkgdir}"/usr/${_arch}/lib/
- rm "${pkgdir}"/usr/${_arch}/bin/*.exe
+ ${_arch}-strip -s "${pkgdir}"/usr/${_arch}/bin/*.exe
${_arch}-strip --strip-unneeded "${pkgdir}"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "${pkgdir}"/usr/${_arch}/lib/*.a
done