aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-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
+}