diff options
author | BuildTools | 2015-10-10 13:26:57 -0700 |
---|---|---|
committer | BuildTools | 2015-10-10 13:26:57 -0700 |
commit | 414ba82bfc0cc4328073891cfa44f0c9af4759cd (patch) | |
tree | eff0a402e0d9029a16135879ad733428d8e1f030 /PKGBUILD | |
parent | 2c09e4f2156fa9be00ec92577308514bad20e75f (diff) | |
download | aur-414ba82bfc0cc4328073891cfa44f0c9af4759cd.tar.gz |
whoops, no EXEs should be installed
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ pkgname=mingw-w64-librsvg pkgver=2.40.11 -pkgrel=1 +pkgrel=2 pkgdesc="A SVG viewing library (mingw-w64)" arch=(any) url="https://live.gnome.org/LibRsvg" @@ -32,6 +32,7 @@ package() { for _arch in ${_architectures}; do cd "${srcdir}/librsvg-${pkgver}/build-${_arch}" make DESTDIR="$pkgdir" install + find "$pkgdir/usr/${_arch}" -name '*.exe' -exec rm {} \; find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \; find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g rm -r "$pkgdir/usr/${_arch}/share" |