summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan2015-04-11 04:36:58 +0800
committerTing-Wei Lan2015-04-11 04:36:58 +0800
commite82c8305aa9d79e1b2c38c5c9e8c5260744c6d8e (patch)
treeeea194553ef4aa58f8b3ed5c115214ce770e79c1
downloadaur-e82c8305aa9d79e1b2c38c5c9e8c5260744c6d8e.tar.gz
mingw-w64-hicolor-icon-theme: 0.15 (initial commit)
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD38
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5a4f90d4fa1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = mingw-w64-hicolor-icon-theme
+ pkgdesc = Freedesktop.org Hicolor icon theme (mingw-w64)
+ pkgver = 0.15
+ pkgrel = 1
+ url = http://icon-theme.freedesktop.org/wiki/HicolorTheme
+ arch = any
+ license = GPL
+ makedepends = mingw-w64-configure
+ options = !strip
+ options = !buildflags
+ options = staticlibs
+ source = http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-0.15.tar.xz
+ sha256sums = 9cc45ac3318c31212ea2d8cb99e64020732393ee7630fa6c1810af5f987033cc
+
+pkgname = mingw-w64-hicolor-icon-theme
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..22356af1696
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: lantw44 at gmail dot com
+
+pkgname=mingw-w64-hicolor-icon-theme
+pkgver=0.15
+pkgrel=1
+pkgdesc="Freedesktop.org Hicolor icon theme (mingw-w64)"
+arch=(any)
+url="http://icon-theme.freedesktop.org/wiki/HicolorTheme"
+license=('GPL')
+makedepends=('mingw-w64-configure')
+options=(!strip !buildflags staticlibs)
+source=("http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-${pkgver}.tar.xz")
+sha256sums=('9cc45ac3318c31212ea2d8cb99e64020732393ee7630fa6c1810af5f987033cc')
+
+_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+
+build() {
+ cd "${srcdir}/hicolor-icon-theme-${pkgver}"
+ for _arch in ${_architectures}; do
+ mkdir -p "build-${_arch}"
+ cd "build-${_arch}"
+ ${_arch}-configure
+ make
+ cd ..
+ done
+}
+
+package() {
+ cd "${srcdir}/hicolor-icon-theme-${pkgver}"
+ for _arch in ${_architectures}; do
+ 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 --strip-unneeded
+ find "$pkgdir/usr/${_arch}" -name '*.a' | xargs -rtl1 ${_arch}-strip -g
+ cd ..
+ done
+}