summarylogtreecommitdiffstats
path: root/sine.install
diff options
context:
space:
mode:
authorFederico Dossena2016-02-10 13:22:23 +0100
committerFederico Dossena2016-02-10 13:22:23 +0100
commit124d6df78144130a94ca87179464cec5bc3f063c (patch)
treea35c4f82d379475c153c0a9fb0792740b9927ca5 /sine.install
downloadaur-124d6df78144130a94ca87179464cec5bc3f063c.tar.gz
Uploaded to AUR
Diffstat (limited to 'sine.install')
-rwxr-xr-xsine.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/sine.install b/sine.install
new file mode 100755
index 000000000000..2c087d2dc3f7
--- /dev/null
+++ b/sine.install
@@ -0,0 +1,11 @@
+post_install() {
+ cd "/usr/share/sine"
+ xdg-icon-resource install --context mimetypes --size 256 preset.png application-x-sine
+ xdg-mime install preset-mime.xml
+ xdg-icon-resource install --novendor --size 256 sine.png sine
+ xdg-icon-resource install --novendor --size 256 editor.png sine-editor
+}
+pre_remove() {
+ cd "/usr/share/sine"
+ xdg-mime uninstall preset-mime.xml
+}