adwaita-icon-theme: New package.

This commit is contained in:
Alexpux
2014-07-22 20:18:25 +04:00
parent ce96565ca4
commit 735f447602
3 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_realname=adwaita-icon-theme
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
replaces=("${MINGW_PACKAGE_PREFIX}-gnome-icon-theme" "${MINGW_PACKAGE_PREFIX}-gnome-icon-theme-symbolic")
provides=("${MINGW_PACKAGE_PREFIX}-gnome-icon-theme" "${MINGW_PACKAGE_PREFIX}-gnome-icon-theme-symbolic")
pkgver=3.13.4
pkgrel=1
pkgdesc="GNOME icon theme (mingw-w64)"
arch=('any')
url="http://www.gnome.org"
license=("GPL")
makedepends=("intltool")
depends=("${MINGW_PACKAGE_PREFIX}-hicolor-icon-theme"
"${MINGW_PACKAGE_PREFIX}-icon-naming-utils"
"${MINGW_PACKAGE_PREFIX}-gtk2"
)
groups=("${MINGW_PACKAGE_PREFIX}-gnome")
options=(!libtool strip staticlibs)
install=theme-${CARCH}.install
source=(http://ftp.gnome.org/pub/gnome/sources/${_realname}/${pkgver%.*}/${_realname}-$pkgver.tar.xz)
sha256sums=('0230699f27f81d682513df9e0bca0bb7b86bd854324bc31767e754577e69b189')
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/
}

View File

@@ -0,0 +1,11 @@
post_install() {
mingw32/bin/gtk-update-icon-cache -q -t -f /mingw32/share/icons/Adwaita
}
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/Adwaita
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}