Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/caja: Added post-install script

From: Alan Lacerda <alancordeiro_at_gmail.com>
Date: Tue, 23 Dec 2014 13:31:00 +0000

        This script updates icon cache, mime db and other needed
        resources
---
 testing/caja/APKBUILD          | 4 ++--
 testing/caja/caja.post-install | 6 ++++++
 2 files changed, 8 insertions(+), 2 deletions(-)
 create mode 100644 testing/caja/caja.post-install
diff --git a/testing/caja/APKBUILD b/testing/caja/APKBUILD
index 5ad2383..67ec905 100644
--- a/testing/caja/APKBUILD
+++ b/testing/caja/APKBUILD
_at_@ -2,7 +2,7 @@
 # Maintainer:
 pkgname=caja
 pkgver=1.9.3
-pkgrel=1
+pkgrel=2
 pkgdesc="The file manager for the MATE desktop"
 url="https://github.com/mate-desktop/caja"
 arch="all"
_at_@ -11,7 +11,7 @@ depends="mate-common mate-desktop"
 depends_dev=""
 makedepends="$depends_dev intltool libtool dconf-dev gtk+-dev libunique-dev
 	libsm-dev mate-desktop-dev"
-install=""
+install="caja.post-install"
 subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
 source="http://pub.mate-desktop.org/releases/1.9/$pkgname-$pkgver.tar.xz"
 
diff --git a/testing/caja/caja.post-install b/testing/caja/caja.post-install
new file mode 100644
index 0000000..f8f9edb
--- /dev/null
+++ b/testing/caja/caja.post-install
_at_@ -0,0 +1,6 @@
+#!/bin/sh
+
+glib-compile-schemas /usr/share/glib-2.0/schemas/
+update-mime-database /usr/share/mime/ > /dev/null
+gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+update-desktop-database -q
-- 
2.1.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Dec 23 2014 - 13:31:00 GMT