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 | |
parent | 4d9b37dda766a234867914d7693e1bbee49e76af (diff) | |
download | aur-5585dfd278721fb0693c81006fb5242a18feaae3.tar.gz |
keep EXEs
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 8 |
3 files changed, 6 insertions, 7 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Jun 10 22:25:40 UTC 2016 +# Fri Aug 19 06:36:07 UTC 2016 pkgbase = mingw-w64-librsvg pkgdesc = A SVG viewing library (mingw-w64) pkgver = 2.40.16 - pkgrel = 1 + pkgrel = 2 url = https://live.gnome.org/LibRsvg arch = any license = LGPL diff --git a/.gitignore b/.gitignore index f46de972b6fc..436a59477780 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ pkg/ src/ +*.tar *.xz @@ -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 } |