diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-07 12:58:37 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-07 12:58:37 +0200 |
commit | 93d7381aad2372d81e88bd5eadb74e3e53e7b9d6 (patch) | |
tree | 57ae2aedce59a7633db402e25405a6d6cc35220a | |
parent | Merge branch 'master' of ssh://gitea/aqua/smolbote (diff) | |
download | smolbote-93d7381aad2372d81e88bd5eadb74e3e53e7b9d6.tar.xz |
Add hint on enabling plugins to makepkg
-rw-r--r-- | linux/makepkg/PKGBUILD | 1 | ||||
-rw-r--r-- | linux/makepkg/smolbote.install | 14 |
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 +} |