Package Details: kakoune.cr-git r145.4f86083-1

Git Clone URL: https://aur.archlinux.org/kakoune.cr-git.git (read-only, click to copy)
Package Base: kakoune.cr-git
Description: command-line tool for Kakoune
Upstream URL: https://github.com/alexherbo2/kakoune.cr
Licenses: Unlicense
Conflicts: kakoune.cr
Provides: kakoune.cr
Submitter: Ordoviz
Maintainer: Ordoviz (maximbaz)
Last Packager: maximbaz
Votes: 3
Popularity: 0.63
First Submitted: 2021-03-08 17:01
Last Updated: 2021-06-28 12:19

Dependencies (10)

Required by (1)

Sources (1)

Latest Comments

maximbaz commented on 2021-04-29 23:59

Regarding .desktop file, opened https://github.com/alexherbo2/kakoune.cr/issues/16

wcasanova commented on 2021-04-28 13:03

please add kakoune.desktop kakoune.cr/share/kcr/applications/

maximbaz commented on 2021-03-20 00:20

Turns out it was still needed for kcr play, so I added a symlink as you suggested. Moved some deps to makedepends as it seems we don't need them in runtime, and also added llvm because I saw an error about it being missing during the build...

maximbaz commented on 2021-03-19 23:48

Yes indeed, ah I didn't know about this auto-sourcing magic, nice!

Then I think we don't need to put the file in two locations, but I'll have a look at PKGBUILD to see if I can think of some other improvements, for example I noticed that kcr tldr fails because we are not installing another file.

Ordoviz commented on 2021-03-19 08:00

Did you got the error when you ran kcr init kakoune? You probably don't need to run this command because the files in /usr/share/kak/rc/ will be automatically sourced. If we didn't put the init script there, users would need to take care of sourcing it themselves. How about installing the script to both locations—with a symlink perhaps?

Anyways, I made you a co-maintainer because I only use kakoune.cr as a dependency for auto-pairs.

maximbaz commented on 2021-03-19 00:11

It seems we should install .kak file to $pkgdir/usr/share/kcr/init/kakoune.kak instead of $pkgdir/usr/share/kak/rc/addons/kakoune.cr.kak, as the paths are hardcoded and I'm seeing an error in debug buffer:

https://github.com/alexherbo2/kakoune.cr/blob/94ce19700bd9446986da78c3c9369172275e1106/src/cli.cr#L8 https://github.com/alexherbo2/kakoune.cr/blob/94ce19700bd9446986da78c3c9369172275e1106/src/cli.cr#L241