diff options
author | Lennard Hofmann | 2020-06-18 11:31:31 +0200 |
---|---|---|
committer | Lennard Hofmann | 2020-06-18 11:31:31 +0200 |
commit | 2986ce502ada78aa3e25b9e9019bfa81b233b723 (patch) | |
tree | eb25674ee7d45fe3ce9f9d07a82258cf36321201 | |
parent | fc0ff8bbeee5c4f6e5ae045a84b941cea126b459 (diff) | |
download | aur-2986ce502ada78aa3e25b9e9019bfa81b233b723.tar.gz |
Install into /usr/share/kak/rc
This makes it possible to use the addon without manually sourcing it
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | kak-palette-git.install | 5 |
3 files changed, 5 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = kak-palette-git pkgdesc = Color preview in Kakoune pkgver = r7.652a00d - pkgrel = 1 + pkgrel = 2 url = https://github.com/alexherbo2/palette.kak install = kak-palette-git.install arch = any @@ -2,7 +2,7 @@ pkgname=kak-palette-git _reponame=palette.kak pkgver=r7.652a00d -pkgrel=1 +pkgrel=2 pkgdesc='Color preview in Kakoune' arch=(any) url="https://github.com/alexherbo2/$_reponame" @@ -24,5 +24,5 @@ pkgver() { package() { cd "$srcdir/$_reponame" install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md - install -Dm644 -t "$pkgdir/usr/share/$pkgname/rc" rc/palette.kak + install -Dm644 -t "$pkgdir/usr/share/kak/rc/addons" rc/palette.kak } diff --git a/kak-palette-git.install b/kak-palette-git.install index 8a41b50f1363..70b8cafd5c05 100644 --- a/kak-palette-git.install +++ b/kak-palette-git.install @@ -1,7 +1,6 @@ post_install() { echo - echo \ -'To finish installation, source /usr/share/kak-palette-git/rc/palette.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 } |