diff options
author | Schala | 2016-08-18 23:36:36 -0700 |
---|---|---|
committer | Schala | 2016-08-18 23:36:36 -0700 |
commit | 5585dfd278721fb0693c81006fb5242a18feaae3 (patch) | |
tree | 886b83015d6cd145d2dc2ae1a31117228fdcb39e /PKGBUILD | |
parent | 4d9b37dda766a234867914d7693e1bbee49e76af (diff) | |
download | aur-5585dfd278721fb0693c81006fb5242a18feaae3.tar.gz |
keep EXEs
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgname=mingw-w64-librsvg pkgver=2.40.16 -pkgrel=1 +pkgrel=2 pkgdesc="A SVG viewing library (mingw-w64)" arch=(any) url="https://live.gnome.org/LibRsvg" @@ -20,8 +20,7 @@ build() { for _arch in ${_architectures}; do mkdir -p build-${_arch} && pushd build-${_arch} ${_arch}-configure \ - --disable-introspection \ - --disable-tools + --disable-introspection setconf Makefile AM_CFLAGS '-fno-common' make popd @@ -32,9 +31,8 @@ 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 '*.exe' -exec ${_arch}-strip {} \; 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" done } |