diff options
author | Schala | 2016-08-19 00:03:18 -0700 |
---|---|---|
committer | Schala | 2016-08-19 00:03:18 -0700 |
commit | b00140c899649e0972bc5582cfac60951abcc564 (patch) | |
tree | 4735b5be369840e2eece7814a112f60821924520 | |
parent | 7058cb18641f8b30e8e8de30440747b64955a648 (diff) | |
download | aur-b00140c899649e0972bc5582cfac60951abcc564.tar.gz |
only remove share/info/dir
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 8 |
3 files changed, 8 insertions, 5 deletions
@@ -1,7 +1,9 @@ +# Generated by mksrcinfo v8 +# Fri Aug 19 07:02:49 UTC 2016 pkgbase = mingw-w64-libunistring pkgdesc = Library for manipulating Unicode strings and C strings. (mingw-w64) pkgver = 0.9.6 - pkgrel = 1 + pkgrel = 2 url = http://www.gnu.org/software/libunistring/ arch = any license = GPL diff --git a/.gitignore b/.gitignore index a167d7032d42..a178b832e999 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ pkg/ src/ *.gz +*.tar *.xz @@ -1,6 +1,6 @@ pkgname=mingw-w64-libunistring pkgver=0.9.6 -pkgrel=1 +pkgrel=2 pkgdesc="Library for manipulating Unicode strings and C strings. (mingw-w64)" arch=(any) url="http://www.gnu.org/software/libunistring/" @@ -29,8 +29,8 @@ package() { for _arch in ${_architectures}; do cd "${srcdir}/libunistring-${pkgver}/build-${_arch}" make DESTDIR="$pkgdir" install - find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip --strip-unneeded - find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs -rtl1 ${_arch}-strip -g - rm -r "$pkgdir/usr/${_arch}/share" + 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 "$pkgdir/usr/${_arch}/share/info/dir" done } |