summarylogtreecommitdiffstats
path: root/papilio-zap-ide.install
diff options
context:
space:
mode:
authorPeter Ivanov2015-06-23 10:29:48 +0200
committerPeter Ivanov2015-06-23 10:29:48 +0200
commit24634d5681b2db090adddcf968e68f17e182a7a5 (patch)
tree0ed2a2fea3750663ae534d7be06d6e7eafd8a24a /papilio-zap-ide.install
downloadaur-24634d5681b2db090adddcf968e68f17e182a7a5.tar.gz
Initial import
Diffstat (limited to 'papilio-zap-ide.install')
-rw-r--r--papilio-zap-ide.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/papilio-zap-ide.install b/papilio-zap-ide.install
new file mode 100644
index 00000000000..aee1739aad1
--- /dev/null
+++ b/papilio-zap-ide.install
@@ -0,0 +1,17 @@
+post_install() {
+ xdg-icon-resource install --size 256 --novendor /usr/share/pixmaps/zap.png
+ echo "YOU MUST AGREE THE LICENSE:"
+ echo "http://forum.gadgetfactory.net/index.php?/files/download/8-zap-zpuino-arduino-papilio-ide/"
+ echo
+ echo "Don't forget to add yourself to the uucp and lock groups: gpasswd -a <user> uucp && gpasswd -a <user> lock (execute as root)"
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ xdg-icon-resource uninstall --size 256 zap
+}
+
+# vim:set ts=2 sw=2 et: