aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-07 12:58:37 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-07 12:58:37 +0200
commit93d7381aad2372d81e88bd5eadb74e3e53e7b9d6 (patch)
tree57ae2aedce59a7633db402e25405a6d6cc35220a
parentMerge branch 'master' of ssh://gitea/aqua/smolbote (diff)
downloadsmolbote-93d7381aad2372d81e88bd5eadb74e3e53e7b9d6.tar.xz
Add hint on enabling plugins to makepkg
-rw-r--r--linux/makepkg/PKGBUILD1
-rw-r--r--linux/makepkg/smolbote.install14
2 files changed, 15 insertions, 0 deletions
diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD
index e5465d4..22c56b3 100644
--- a/linux/makepkg/PKGBUILD
+++ b/linux/makepkg/PKGBUILD
@@ -11,6 +11,7 @@ _commit=""
_branch=""
url="https://neueland.iserlohn-fortress.net/smolbote"
+install="smolbote.install"
arch=('x86_64')
license=('GPL3')
diff --git a/linux/makepkg/smolbote.install b/linux/makepkg/smolbote.install
new file mode 100644
index 0000000..87f0af8
--- /dev/null
+++ b/linux/makepkg/smolbote.install
@@ -0,0 +1,14 @@
+# Run this after installing
+post_install() {
+ cat <<EOM
+ == Note ==
+ To enable plugins, symlink them from /usr/local/lib/smolbote to the location
+ set in plugins.path (defaults to ~/.config/smolbote/plugins.d):
+ ln -s /usr/local/lib/smolbote/libPlugin.so ~/.config/smolbote/plugins.d
+EOM
+}
+
+# Run this after updating
+post_upgrade() {
+ post_install
+}