summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan2015-04-11 01:42:31 +0800
committerTing-Wei Lan2015-04-11 01:43:02 +0800
commitf9a9ad3905ead08ccaf1eda4fa094fcceccdb038 (patch)
treec038d591e71d9816e5161a266c0dc3b5714d6a38
parent6e070cfaf288405bf51367690b410cfcd2d4b183 (diff)
downloadaur-f9a9ad3905ead08ccaf1eda4fa094fcceccdb038.tar.gz
mingw-w64-gtk3: Add glib-compile-schemas post-install scripts
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--mingw-w64-gtk3.install12
3 files changed, 16 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 247c7127b9c6..b058a12d3ffb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = mingw-w64-gtk3
pkgdesc = GObject-based multi-platform GUI toolkit (v3) (mingw-w64)
pkgver = 3.16.1
- pkgrel = 2
+ pkgrel = 3
url = http://www.gtk.org
+ install = mingw-w64-gtk3.install
arch = any
license = LGPL
makedepends = mingw-w64-gcc
diff --git a/PKGBUILD b/PKGBUILD
index e7fd15688982..1ee717e840d1 100644
--- a/PKGBUILD
+++ b/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.install b/mingw-w64-gtk3.install
new file mode 100644
index 000000000000..6936f0682a96
--- /dev/null
+++ b/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
+}