summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennard Hofmann2020-06-18 12:05:23 +0200
committerLennard Hofmann2020-06-18 12:05:23 +0200
commitae53459db817c2ed8d5e7937e1ca6d0c966e241e (patch)
treef0db69fff95ef62cd3c97a7c7c2eacd48ad5aa0a
parentae94e61d3e1c5a5d843d5662e6b405d9d9cece92 (diff)
downloadaur-kak-tagbar.tar.gz
Install into /usr/share/kak/rc
This makes it possible to use the addon without manually sourcing it
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--kak-tagbar.install4
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d40d1a294b..e4533fd010d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kak-tagbar
pkgdesc = Source outline viewer for Kakoune
pkgver = 0.1.3
- pkgrel = 1
+ pkgrel = 2
url = https://gitlab.com/andreyorst/tagbar.kak
install = kak-tagbar.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index fea3ec6cb7e..5f83ec129fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=kak-tagbar
_reponame=tagbar.kak
pkgver=0.1.3
-pkgrel=1
+pkgrel=2
pkgdesc='Source outline viewer for Kakoune'
arch=(any)
url="https://gitlab.com/andreyorst/$_reponame"
@@ -17,5 +17,5 @@ package() {
cd "$_reponame-v$pkgver"
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
- install -Dm644 -t "$pkgdir/usr/share/$pkgname/rc" rc/tagbar.kak
+ install -Dm644 -t "$pkgdir/usr/share/kak/rc/addons" rc/tagbar.kak
}
diff --git a/kak-tagbar.install b/kak-tagbar.install
index 2b96d373c82..70b8cafd5c0 100644
--- a/kak-tagbar.install
+++ b/kak-tagbar.install
@@ -1,6 +1,6 @@
post_install() {
echo
- echo To finish installation, source \
- /usr/share/kak-tagbar/rc/tagbar.kak in your .kakrc
+ echo If you use a custom autoload directory, do not forget to create a \
+ symbolic link inside the directory to /usr/share/kak/rc/addons.
echo
}