This thread contains a patchset. You're looking at the original emails,
but you may wish to use the patch review UI.
Review patch
1
[PATCH] testing/kakoune: version bump to 2019.12.10
add APKBUILD to known filetypes
---
testing/kakoune/APKBUILD | 8 +++++---
testing/kakoune/alpine-linux.kak | 4 ++++
2 files changed, 9 insertions(+), 3 deletions(-)
create mode 100644 testing/kakoune/alpine-linux.kak
diff --git a/testing/kakoune/APKBUILD b/testing/kakoune/APKBUILD
index 1795613735..6ecebaa197 100644
--- a/testing/kakoune/APKBUILD
+++ b/testing/kakoune/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jakub Skrzypnik <j.skrzypnik@openmailbox.org>
pkgname=kakoune
-pkgver=2019.07.01
+pkgver=2019.12.10
pkgrel=0
pkgdesc="Code editor heavily inspired by Vim, but with less keystrokes"
url="http://kakoune.org"
@@ -8,7 +8,7 @@ arch="all"
license="Unlicense"
makedepends="ncurses-dev asciidoc"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/mawww/$pkgname/archive/v$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/mawww/$pkgname/archive/v$pkgver.tar.gz alpine-linux.kak"
builddir="$srcdir/$pkgname-$pkgver/src"
build() {
@@ -21,6 +21,8 @@ check() {
package() {
make PREFIX="/usr" DESTDIR="$pkgdir/" debug=no install
+ install -Dm644 $srcdir/alpine-linux.kak $pkgdir/usr/share/kak/autoload/filetype/
}
-sha512sums="35e4ae68c18afdb0fcd531877eecf54a52d1f86b586bc7272b0183367515d9a747b498292449e8a87c03a87cdd8087b5932f822ffeb5a9ff6cd7f431376e4c60 kakoune-2019.07.01.tar.gz"
+sha512sums="9ed866a27f1dbbab701dcb7412450c4dd8c20cafebaedda351a0b67b9489b1ad8de82fa527b357a55aab86b0dc3e2b435f7d6177fd056331f5576ddb7befbd15 kakoune-2019.12.10.tar.gz
+c5b11dc28adf785b4e83637fe1d5c9db334616d2d3f6c667823745e273f739c57d0d408b9bec8a65210e3c7ccb80a5b488ebbb3c0c5de8bdec13e1b4b4d02b77 alpine-linux.kak"
diff --git a/testing/kakoune/alpine-linux.kak b/testing/kakoune/alpine-linux.kak
new file mode 100644
index 0000000000..7e061926eb
--- /dev/null
+++ b/testing/kakoune/alpine-linux.kak
@@ -0,0 +1,4 @@
+# package build description file
+hook global BufCreate (.*/)?APKBUILD %{
+ set-option buffer filetype sh
+}
--
2.24.1
On Wed, 25 Dec 2019 15:08:01 +0100
VÖRÖSKŐI András <voroskoi@gmail.com> wrote:
> add APKBUILD to known filetypes
> ---
> testing/kakoune/APKBUILD | 8 +++++---
> testing/kakoune/alpine-linux.kak | 4 ++++
> 2 files changed, 9 insertions(+), 3 deletions(-)
> create mode 100644 testing/kakoune/alpine-linux.kak
>
> diff --git a/testing/kakoune/APKBUILD b/testing/kakoune/APKBUILD
> index 1795613735..6ecebaa197 100644
> --- a/testing/kakoune/APKBUILD
> +++ b/testing/kakoune/APKBUILD
> @@ -1,6 +1,6 @@
> # Maintainer: Jakub Skrzypnik <j.skrzypnik@openmailbox.org>
> pkgname=kakoune
> -pkgver=2019.07.01
> +pkgver=2019.12.10
> pkgrel=0
> pkgdesc="Code editor heavily inspired by Vim, but with less
> keystrokes" url="http://kakoune.org"
> @@ -8,7 +8,7 @@ arch="all"
> license="Unlicense"
> makedepends="ncurses-dev asciidoc"
> subpackages="$pkgname-doc"
> -source="$pkgname-$pkgver.tar.gz::https://github.com/mawww/$pkgname/archive/v$pkgver.tar.gz"
> +source="$pkgname-$pkgver.tar.gz::https://github.com/mawww/$pkgname/archive/v$pkgver.tar.gz
> alpine-linux.kak"
> builddir="$srcdir/$pkgname-$pkgver/src"
> build() {
> @@ -21,6 +21,8 @@ check() {
>
> package() {
> make PREFIX="/usr" DESTDIR="$pkgdir/" debug=no install
> + install -Dm644 $srcdir/alpine-linux.kak
> $pkgdir/usr/share/kak/autoload/filetype/ }
>
> -sha512sums="35e4ae68c18afdb0fcd531877eecf54a52d1f86b586bc7272b0183367515d9a747b498292449e8a87c03a87cdd8087b5932f822ffeb5a9ff6cd7f431376e4c60
> kakoune-2019.07.01.tar.gz"
> +sha512sums="9ed866a27f1dbbab701dcb7412450c4dd8c20cafebaedda351a0b67b9489b1ad8de82fa527b357a55aab86b0dc3e2b435f7d6177fd056331f5576ddb7befbd15
> kakoune-2019.12.10.tar.gz
> +c5b11dc28adf785b4e83637fe1d5c9db334616d2d3f6c667823745e273f739c57d0d408b9bec8a65210e3c7ccb80a5b488ebbb3c0c5de8bdec13e1b4b4d02b77
> alpine-linux.kak" diff --git a/testing/kakoune/alpine-linux.kak
> b/testing/kakoune/alpine-linux.kak new file mode 100644 index
> 0000000000..7e061926eb --- /dev/null +++
> b/testing/kakoune/alpine-linux.kak @@ -0,0 +1,4 @@
> +# package build description file
> +hook global BufCreate (.*/)?APKBUILD %{
> + set-option buffer filetype sh
> +}
Applied while rebasing aginst master (that already had the kakoune
update)