summarylogtreecommitdiffstats
path: root/ariamaestosa.install
diff options
context:
space:
mode:
authorIan D. Scott2014-08-25 21:04:47 -0700
committerIan D. Scott2014-08-25 21:04:47 -0700
commit2f40577c8e974502b4ec7a8227a9bf763d1787a6 (patch)
tree244fdc6a5588045fd6d52ea229f42a2cfec39515 /ariamaestosa.install
downloadaur-2f40577c8e974502b4ec7a8227a9bf763d1787a6.tar.gz
Add ariamaestosa
Diffstat (limited to 'ariamaestosa.install')
-rw-r--r--ariamaestosa.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/ariamaestosa.install b/ariamaestosa.install
new file mode 100644
index 000000000000..c152085ecf5d
--- /dev/null
+++ b/ariamaestosa.install
@@ -0,0 +1,19 @@
+post_install() {
+ cd /usr/share/ariamaestosa/
+ xdg-icon-resource install --context mimetypes --size 64 aria_doc.png application-x-ariamaestosa
+ xdg-mime install application-x-ariamaestosa.xml
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database /usr/share/applications
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ xdg-mime uninstall /usr/share/ariamaestosa/application-x-ariamaestosa.xml
+ xdg-icon-resource uninstall --context mimetypes --size 64 application-x-ariamaestosa
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database /usr/share/applications
+}
+# vim:set ts=2 sw=2 et: