Add gnome-icon-theme package.
This commit is contained in:
40
mingw-w64-gnome-icon-theme/PKGBUILD
Normal file
40
mingw-w64-gnome-icon-theme/PKGBUILD
Normal 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"
|
||||
}
|
||||
11
mingw-w64-gnome-icon-theme/theme-i686.install
Normal file
11
mingw-w64-gnome-icon-theme/theme-i686.install
Normal 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
|
||||
}
|
||||
11
mingw-w64-gnome-icon-theme/theme-x86_64.install
Normal file
11
mingw-w64-gnome-icon-theme/theme-x86_64.install
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user