summarylogtreecommitdiffstats
path: root/kim-api.install
diff options
context:
space:
mode:
authorDaniel Schopf2018-12-27 09:58:28 +0100
committerDaniel Schopf2018-12-27 09:59:44 +0100
commit64bd4a22d174b666aab87f959524bfd6f9eb93e1 (patch)
treeaf6953abdd4cd35a956b5b781f8145c67c5897e3 /kim-api.install
downloadaur-64bd4a22d174b666aab87f959524bfd6f9eb93e1.tar.gz
Initial commit
Diffstat (limited to 'kim-api.install')
-rw-r--r--kim-api.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/kim-api.install b/kim-api.install
new file mode 100644
index 000000000000..f93d49b23418
--- /dev/null
+++ b/kim-api.install
@@ -0,0 +1,22 @@
+# Colored makepkg-like functions
+msg_blue() {
+ printf "${blue}==>${bold} $1${all_off}\n"
+}
+
+note() {
+ printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
+}
+
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+blue="${bold}$(tput setaf 4)"
+yellow="${bold}$(tput setaf 3)"
+
+post_install() {
+ note "KIM API has been installed with some example models."
+ note "More models can be installed using the 'kim-api-v2-collections-management' utility"
+}
+
+post_upgrade() {
+ post_install
+}