adwaita-icon-theme: New package.
This commit is contained in:
39
mingw-w64-adwaita-icon-theme/PKGBUILD
Normal file
39
mingw-w64-adwaita-icon-theme/PKGBUILD
Normal 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/
|
||||
}
|
||||
11
mingw-w64-adwaita-icon-theme/theme-i686.install
Normal file
11
mingw-w64-adwaita-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/Adwaita
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
||||
11
mingw-w64-adwaita-icon-theme/theme-x86_64.install
Normal file
11
mingw-w64-adwaita-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/Adwaita
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
||||
Reference in New Issue
Block a user