summaryrefslogtreecommitdiff
path: root/distro/archlinux/mate-desktop.install
diff options
context:
space:
mode:
authorPerberos <[email protected]>2012-10-16 18:06:28 -0300
committerPerberos <[email protected]>2012-10-16 18:06:28 -0300
commitbf8c191f9b9fa6211b1b0e09d783eb5546a79478 (patch)
treebdc237436def3f0c9b5b583ae5edab4ae671959a /distro/archlinux/mate-desktop.install
parent405535e24d270d9f49413546ddcba78f8a338a8b (diff)
downloadmate-desktop-bf8c191f9b9fa6211b1b0e09d783eb5546a79478.tar.bz2
mate-desktop-bf8c191f9b9fa6211b1b0e09d783eb5546a79478.tar.xz
adding gsettings install on PKGBUILD
Diffstat (limited to 'distro/archlinux/mate-desktop.install')
-rw-r--r--distro/archlinux/mate-desktop.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/distro/archlinux/mate-desktop.install b/distro/archlinux/mate-desktop.install
new file mode 100644
index 0000000..bf325ea
--- /dev/null
+++ b/distro/archlinux/mate-desktop.install
@@ -0,0 +1,22 @@
+pkgname=mate-desktop
+
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}