summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--astah-community.install14
2 files changed, 16 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ded21de94db1..4171da510167 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,11 +3,13 @@ pkgbase = astah-community
pkgver = 7.0.0
pkgrel = 1
url = http://astah.change-vision.com/en/product/astah-community.html
+ install = astah-community.install
arch = any
license = custom
depends = java-runtime
provides = astah_community
conflicts = astah_community
+ conflicts = astah-professional
source = http://cdn.astah.net/downloads/astah-community-7_0_0-846701.zip
source = astah_community.desktop
source = astah_community.xml
diff --git a/astah-community.install b/astah-community.install
new file mode 100644
index 000000000000..4de4c2fd41af
--- /dev/null
+++ b/astah-community.install
@@ -0,0 +1,14 @@
+post_install() {
+ update-desktop-database /usr/share/applications
+ update-mime-database /usr/share/mime
+ gtk-update-icon-cache -t /usr/share/icons/
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+