This repository was archived by the owner on Jan 17, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +77
-0
lines changed
packages/kakoune-ansi-git Expand file tree Collapse file tree 4 files changed +77
-0
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,7 @@ joplin-desktop-app
294294jq-bin
295295jsonnet-bundler-bin
296296kakoune
297+ kakoune-ansi-git
297298kakoune-auto-pairs-git
298299kakoune-kakboard-git
299300kakoune-lsp
Original file line number Diff line number Diff line change 1+ pkgbase = kakoune-ansi-git
2+ gives = kakoune-ansi
3+ pkgver = 0.2.8
4+ pkgdesc = Support for rendering ANSI-colored text in Kakoune
5+ url = https://github.com/eraserhd/kak-ansi
6+ arch = any
7+ depends = kakoune
8+ makedepends = make
9+ makedepends = sed
10+ checkdepends = bash
11+ enhances = kakoune
12+ license = Unlicense
13+ maintainer = Erik Hedlund <erikcghedlund@outlook.com>
14+ source = kakoune-ansi::https://github.com/eraserhd/kak-ansi.git
15+ checkdepends_debian = moreutils
16+ checkdepends_debian = grep
17+
18+ pkgname = kakoune-ansi-git
Original file line number Diff line number Diff line change 1+ pkgname='kakoune-ansi-git'
2+ pkgver="0.2.8"
3+ pkgdesc='Support for rendering ANSI-colored text in Kakoune'
4+ gives='kakoune-ansi'
5+ license=('Unlicense')
6+ url='https://github.com/eraserhd/kak-ansi'
7+ arch=('any')
8+ maintainer=("Erik Hedlund <erikcghedlund@outlook.com>")
9+ source=("${gives}::https://github.com/eraserhd/kak-ansi.git")
10+ depends=('kakoune')
11+ makedepends=('make' 'sed')
12+ checkdepends=('bash')
13+ checkdepends_debian=('moreutils' 'grep')
14+ enhances=('kakoune')
15+
16+ prepare() {
17+ # We wan't the expression the expand when calling the script, not now
18+ # shellcheck disable=SC2016
19+ sed -i 's;filterdir="$(dirname $kak_source)/..";filterdir="/usr/share/kak";' "${srcdir}/${gives}/rc/ansi.kak"
20+ }
21+
22+ build() {
23+ make -C "${srcdir}/${gives}"
24+ }
25+
26+ check() {
27+ cd "${srcdir}/${gives}"
28+ # Four test cases are broken on Debian
29+ if [[ "$(cut -f 1 -d ':' <<< "${DISTRO}")" == "debian" ]]; then
30+ grep -vE '(┘┐┌└┼─├┤┴┬\│|advances using byte offset|covers ending char bytes)' './tests/tests.bash' | sponge './tests/tests.bash'
31+ fi
32+ bash tests/tests.bash
33+ }
34+
35+ package() {
36+ install -Dm755 "${srcdir}/${gives}/kak-ansi-filter" "${pkgdir}/usr/share/kak/kak-ansi-filter"
37+ install -Dm644 "${srcdir}/${gives}/rc/ansi.kak" "${pkgdir}/usr/share/kak/autoload/rc/ansi.kak"
38+ install -Dm644 "${srcdir}/${gives}/UNLICENSE" "${pkgdir}/usr/share/licenses/${gives}/UNLICENSE"
39+ }
Original file line number Diff line number Diff line change @@ -6032,6 +6032,25 @@ pkgbase = jsonnet-bundler-bin
60326032
60336033pkgname = jsonnet-bundler-bin
60346034---
6035+ pkgbase = kakoune-ansi-git
6036+ gives = kakoune-ansi
6037+ pkgver = 0.2.8
6038+ pkgdesc = Support for rendering ANSI-colored text in Kakoune
6039+ url = https://github.com/eraserhd/kak-ansi
6040+ arch = any
6041+ depends = kakoune
6042+ makedepends = make
6043+ makedepends = sed
6044+ checkdepends = bash
6045+ enhances = kakoune
6046+ license = Unlicense
6047+ maintainer = Erik Hedlund <erikcghedlund@outlook.com>
6048+ source = kakoune-ansi::https://github.com/eraserhd/kak-ansi.git
6049+ checkdepends_debian = moreutils
6050+ checkdepends_debian = grep
6051+
6052+ pkgname = kakoune-ansi-git
6053+ ---
60356054pkgbase = kakoune-auto-pairs-git
60366055 gives = kakoune-auto-pairs
60376056 pkgver = 0.0.1
You can’t perform that action at this time.
0 commit comments