summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Martinez2021-06-20 12:54:13 -0500
committerLuis Martinez2021-06-20 13:02:50 -0500
commit011c68d38dc4e08fcc56775f9c14a77e28aa0c02 (patch)
tree151344db1143cd7c635e26c006180b64c9ae0f41
parentbaa03c98643f42dfcffae60a96d18794954952db (diff)
downloadaur-011c68d38dc4e08fcc56775f9c14a77e28aa0c02.tar.gz
add .install script
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
-rw-r--r--neovim-lightbulb-git.install9
3 files changed, 11 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 531a1e4f2385..79cd6e4202c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,6 +3,7 @@ pkgbase = neovim-lightbulb-git
pkgver = r22.388cc8c
pkgrel = 1
url = https://github.com/kosayoda/nvim-lightbulb
+ install = neovim-lightbulb-git.install
arch = any
groups = neovim-plugins
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 59a845b1bd8c..d5f37c29c4e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ depends=('neovim-git')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
-install=
+install="$pkgname.install"
source=("$pkgname::git+$url")
sha256sums=('SKIP')
diff --git a/neovim-lightbulb-git.install b/neovim-lightbulb-git.install
new file mode 100644
index 000000000000..30cbb8bd4ca0
--- /dev/null
+++ b/neovim-lightbulb-git.install
@@ -0,0 +1,9 @@
+post_install() {
+ echo ':: This plugin requires manual setup.'
+ echo ':: Please consult upstream documentation for more information.'
+ echo ':: A copy has been installed under /usr/share/doc/neovim-lightbulb-git/README.md for your reference.'
+}
+
+post_remove() {
+ echo ":: Don't forget to remove all references to this plugin in your init scripts!"
+}