summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSchala2016-08-17 18:37:28 -0700
committerSchala2016-08-17 18:37:28 -0700
commit446b3e7b5844e90c56cb4d2cd3556e70ed4ead7c (patch)
treef389d0c647d10dbf0ac359b1bf59fba86484c291 /PKGBUILD
parent0478acc41d204054cb8257a42806d7954d689792 (diff)
downloadaur-446b3e7b5844e90c56cb4d2cd3556e70ed4ead7c.tar.gz
restore deleted files
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c93ab6e403be..76599ceb8bd4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mingw-w64-fontconfig
pkgver=2.12.1
-pkgrel=1
+pkgrel=2
pkgdesc="A library for configuring and customizing font access (mingw-w64)"
arch=(any)
url="http://www.fontconfig.org/release"
@@ -40,9 +40,8 @@ package() {
for _arch in ${_architectures}; do
cd "${srcdir}/fontconfig-${pkgver}/build-${_arch}"
make DESTDIR="$pkgdir" install
- find "$pkgdir/usr/${_arch}" -name '*.exe' -o -name '*.def' | xargs 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}/"{etc,share}
done
}