summaryrefslogtreecommitdiffstats
path: root/mingw-w64-gtk3
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2015-04-11 01:42:31 +0800
committerTing-Wei Lan <lantw44@gmail.com>2015-04-11 01:43:02 +0800
commited17aeea61c4dce1f0b16547d215206d32c2e441 (patch)
tree211fb4bac6835487b3378869aee3a3a665782b3c /mingw-w64-gtk3
parentd002d9f61906614d8b567106856cd8a65f3fcf47 (diff)
downloadAUR-PKGBUILD-ed17aeea61c4dce1f0b16547d215206d32c2e441.tar
AUR-PKGBUILD-ed17aeea61c4dce1f0b16547d215206d32c2e441.tar.gz
AUR-PKGBUILD-ed17aeea61c4dce1f0b16547d215206d32c2e441.tar.bz2
AUR-PKGBUILD-ed17aeea61c4dce1f0b16547d215206d32c2e441.tar.lz
AUR-PKGBUILD-ed17aeea61c4dce1f0b16547d215206d32c2e441.tar.xz
AUR-PKGBUILD-ed17aeea61c4dce1f0b16547d215206d32c2e441.tar.zst
AUR-PKGBUILD-ed17aeea61c4dce1f0b16547d215206d32c2e441.zip
mingw-w64-gtk3: Add glib-compile-schemas post-install scripts
Diffstat (limited to 'mingw-w64-gtk3')
-rw-r--r--mingw-w64-gtk3/PKGBUILD3
-rw-r--r--mingw-w64-gtk3/mingw-w64-gtk3.install12
2 files changed, 14 insertions, 1 deletions
diff --git a/mingw-w64-gtk3/PKGBUILD b/mingw-w64-gtk3/PKGBUILD
index e7fd156..1ee717e 100644
--- a/mingw-w64-gtk3/PKGBUILD
+++ b/mingw-w64-gtk3/PKGBUILD
@@ -2,10 +2,11 @@
pkgname=mingw-w64-gtk3
pkgver=3.16.1
-pkgrel=2
+pkgrel=3
pkgdesc='GObject-based multi-platform GUI toolkit (v3) (mingw-w64)'
arch=(any)
url='http://www.gtk.org'
+install="${pkgname}.install"
license=('LGPL')
makedepends=(
'mingw-w64-gcc'
diff --git a/mingw-w64-gtk3/mingw-w64-gtk3.install b/mingw-w64-gtk3/mingw-w64-gtk3.install
new file mode 100644
index 0000000..6936f06
--- /dev/null
+++ b/mingw-w64-gtk3/mingw-w64-gtk3.install
@@ -0,0 +1,12 @@
+post_install() {
+ /usr/bin/glib-compile-schemas /usr/i686-w64-mingw32/share/glib-2.0/schemas
+ /usr/bin/glib-compile-schemas /usr/x86_64-w64-mingw32/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}