aboutsummaryrefslogtreecommitdiffstats
path: root/gtk3-nobroadway-nowayland-nocolord/gtk3.install
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-14 15:13:19 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-14 15:13:19 +0100
commitde6a5c512cfc3337b948dd5018f8c2fedbf27873 (patch)
treed5da634ebf08eaec5415279ef44e8b836a7743af /gtk3-nobroadway-nowayland-nocolord/gtk3.install
parentadd shadow-libpassphrase (diff)
downloadaur-packages-de6a5c512cfc3337b948dd5018f8c2fedbf27873.tar.gz
aur-packages-de6a5c512cfc3337b948dd5018f8c2fedbf27873.tar.bz2
aur-packages-de6a5c512cfc3337b948dd5018f8c2fedbf27873.tar.xz
-nowayland stuff
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'gtk3-nobroadway-nowayland-nocolord/gtk3.install')
-rw-r--r--gtk3-nobroadway-nowayland-nocolord/gtk3.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk3-nobroadway-nowayland-nocolord/gtk3.install b/gtk3-nobroadway-nowayland-nocolord/gtk3.install
new file mode 100644
index 0000000..f57b1bf
--- /dev/null
+++ b/gtk3-nobroadway-nowayland-nocolord/gtk3.install
@@ -0,0 +1,18 @@
+post_install() {
+ /usr/bin/gtk-query-immodules-3.0 --update-cache
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+ /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
+}
+
+post_remove() {
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+ /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}