summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan2015-04-11 01:24:31 +0800
committerTing-Wei Lan2015-04-11 01:24:31 +0800
commit6e070cfaf288405bf51367690b410cfcd2d4b183 (patch)
tree2ed5637c1d796e93820d79d252fe0f22c5dcf4ca
parent0befc005402295f02a9cd4006b80d2ab11ca25d6 (diff)
downloadaur-6e070cfaf288405bf51367690b410cfcd2d4b183.tar.gz
mingw-w64-{gdk-pixbuf2,gtk2,gtk3,libepoxy}: Follow MinGW package guidelines
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 27154254a15b..247c7127b9c6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mingw-w64-gtk3
pkgdesc = GObject-based multi-platform GUI toolkit (v3) (mingw-w64)
pkgver = 3.16.1
- pkgrel = 1
+ pkgrel = 2
url = http://www.gtk.org
arch = any
license = LGPL
diff --git a/PKGBUILD b/PKGBUILD
index 563a21614178..e7fd15688982 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=mingw-w64-gtk3
pkgver=3.16.1
-pkgrel=1
+pkgrel=2
pkgdesc='GObject-based multi-platform GUI toolkit (v3) (mingw-w64)'
arch=(any)
url='http://www.gtk.org'
@@ -46,8 +46,8 @@ package() {
cd "build-${_arch}"
make DESTDIR="$pkgdir" install
find "$pkgdir/usr/${_arch}" -name '*.exe' -o -name '*.bat' -o -name '*.def' -o -name '*.exp' -o -name '*.manifest' | xargs -rtl1 rm
- find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip -x
- find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs -rtl1 ${_arch}-strip -g
+ find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip --strip-unneeded
+ find "$pkgdir/usr/${_arch}" -name '*.a' | xargs -rtl1 ${_arch}-strip -g
rm -r "$pkgdir/usr/${_arch}/etc"
rm -r "$pkgdir/usr/${_arch}/share/man"
cd ..