_realname=gcr
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=3.14.0
-pkgrel=1
+pkgrel=2
arch=('any')
pkgdesc="Library for Crypto UI related task (mingw-w64)"
depends=("${MINGW_PACKAGE_PREFIX}-gtk3"
options=('strip' 'staticlibs')
license=("LGPL 2.1")
url="http://www.gnome.org/"
+install=${_realname}-${CARCH}.install
source=(http://ftp.gnome.org/pub/gnome/sources/${_realname}/${pkgver:0:4}/${_realname}-$pkgver.tar.xz
001-3.14.0.patch)
sha256sums=('2a2231147a01e2061f57fa9ca77557ff97bc6ceab028cee5528079f4b2fca63d'
--- /dev/null
+post_install() {
+ mingw32/bin/update-mime-database /mingw32/share/mime/
+ mingw32/bin/gtk-update-icon-cache -f -t /mingw32/share/icons/hicolor
+ mingw32/bin/glib-compile-schemas /mingw32/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
--- /dev/null
+post_install() {
+ mingw64/bin/update-mime-database /mingw64/share/mime/
+ mingw64/bin/gtk-update-icon-cache -f -t /mingw64/share/icons/hicolor
+ mingw64/bin/glib-compile-schemas /mingw64/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}