diff options
author | Schala | 2016-08-19 15:16:28 -0700 |
---|---|---|
committer | Schala | 2016-08-19 15:16:28 -0700 |
commit | a5cc0e6291abace0ef26ee51b207f541fc614b13 (patch) | |
tree | a7d16f75428a0e19ae00bd15f0e8978b86671bc5 | |
parent | d61da9ad55ad379c9a7ea14060963bffdce9974e (diff) | |
download | aur-a5cc0e6291abace0ef26ee51b207f541fc614b13.tar.gz |
keep EXEs
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 8 |
3 files changed, 8 insertions, 6 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun Apr 17 20:29:27 UTC 2016 +# Fri Aug 19 22:16:11 UTC 2016 pkgbase = mingw-w64-pango pkgdesc = A library for layout and rendering of text (mingw-w64) pkgver = 1.40.1 - pkgrel = 1 + pkgrel = 2 url = http://www.pango.org arch = any license = LGPL @@ -14,6 +14,7 @@ pkgbase = mingw-w64-pango options = staticlibs options = !strip options = !buildflags + options = !emptydirs source = http://ftp.gnome.org/pub/gnome/sources/pango/1.40/pango-1.40.1.tar.xz source = 0001-no-unconditional-xft-please.all.patch source = 0002-msvc-is-impotent-but-not.mingw.patch diff --git a/.gitignore b/.gitignore index f46de972b6f..436a5947778 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ pkg/ src/ +*.tar *.xz @@ -1,13 +1,13 @@ pkgname=mingw-w64-pango pkgver=1.40.1 -pkgrel=1 +pkgrel=2 pkgdesc="A library for layout and rendering of text (mingw-w64)" arch=(any) url="http://www.pango.org" license=("LGPL") makedepends=(mingw-w64-configure gtk-doc) depends=(mingw-w64-harfbuzz mingw-w64-cairo) -options=(staticlibs !strip !buildflags) +options=(staticlibs !strip !buildflags !emptydirs) source=("http://ftp.gnome.org/pub/gnome/sources/pango/${pkgver:0:4}/pango-${pkgver}.tar.xz" "0001-no-unconditional-xft-please.all.patch" "0002-msvc-is-impotent-but-not.mingw.patch") @@ -42,9 +42,9 @@ package() { for _arch in ${_architectures}; do cd "${srcdir}/pango-${pkgver}/build-${_arch}" make -j1 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" + #rm -r "$pkgdir/usr/${_arch}/share" done } |