Add gnome-icon-theme package.

This commit is contained in:
Alexpux
2014-02-10 00:29:08 +04:00
parent 845e6a06b4
commit 2e51197c9b
3 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_realname=gnome-icon-theme
_mingw_suff=mingw-w64-${CARCH}
pkgname="${_mingw_suff}-${_realname}"
pkgver=3.11.5
pkgrel=1
pkgdesc="GNOME icon theme (mingw-w64)"
arch=('any')
url="http://www.gnome.org"
license=("GPL")
makedepends=("intltool")
depends=("${_mingw_suff}-hicolor-icon-theme"
"${_mingw_suff}-icon-naming-utils"
"${_mingw_suff}-gtk2"
"${_mingw_suff}-gnome-icon-theme-symbolic"
)
groups=("${_mingw_suff}-gnome")
options=(!libtool strip staticlibs)
install=theme-${CARCH}.install
source=(http://ftp.gnome.org/pub/gnome/sources/${_realname}/${pkgver%.*}/${_realname}-$pkgver.tar.xz)
sha256sums=('345dce06d4071f7c71b2659aa8834f70349a49fe8f91e6f0006606456dfeb230')
build() {
cd ${srcdir}/${_realname}-${pkgver}
./configure \
--prefix=${MINGW_PREFIX} \
--build=${MINGW_CHOST} \
--host=${MINGW_CHOST}
make
}
package() {
cd "${srcdir}/${_realname}-${pkgver}"
make DESTDIR="$pkgdir" install
mkdir -p ${pkgdir}${MINGW_PREFIX}/lib
mv ${pkgdir}${MINGW_PREFIX}/share/pkgconfig ${pkgdir}${MINGW_PREFIX}/lib/
mv ${pkgdir}${MINGW_PREFIX}/lib/locale ${pkgdir}${MINGW_PREFIX}/share/
rm -f "${pkgdir}${MINGW_PREFIX}/share/icons/gnome/icon-theme.cache"
}

View File

@@ -0,0 +1,11 @@
post_install() {
mingw32/bin/gtk-update-icon-cache -q -t -f /mingw32/share/icons/gnome
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View File

@@ -0,0 +1,11 @@
post_install() {
mingw64/bin/gtk-update-icon-cache -q -t -f /mingw64/share/icons/gnome
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}