summarylogtreecommitdiffstats
path: root/vuze-dev.install
diff options
context:
space:
mode:
Diffstat (limited to 'vuze-dev.install')
-rw-r--r--vuze-dev.install36
1 files changed, 36 insertions, 0 deletions
diff --git a/vuze-dev.install b/vuze-dev.install
new file mode 100644
index 000000000000..2628591887a6
--- /dev/null
+++ b/vuze-dev.install
@@ -0,0 +1,36 @@
+# Colored makepkg-like functions
+msg_blue() {
+ printf "${blue}::${bold} $1${all_off}\n"
+}
+
+note() {
+ printf "${blue}${yellow}::${bold} $1${all_off}\n"
+}
+
+pkgname=vuze-dev
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+blue="${bold}$(tput setaf 4)"
+yellow="${bold}$(tput setaf 3)"
+
+post_install() {
+ msg_blue "Installing GConf Schemas..."
+ gconfpkg --install "$pkgname"
+
+ msg_blue "Updating desktop MIME database..."
+ update-desktop-database -q
+
+ note "The launcher is called: '$pkgname'"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ msg_blue "Uninstalling GConf Schemas..."
+ gconfpkg --uninstall "$pkgname"
+
+ msg_blue "Updating desktop MIME database..."
+ update-desktop-database -q
+}