diff options
author | VÖRÖSKŐI András <voroskoi@gmail.com> | 2019-12-25 15:08:01 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-12-25 16:18:23 +0100 |
commit | 6eac49b05670715a85175ab6da5d5469b65a5892 (patch) | |
tree | df715ea3bd02c3886f4e8cdd0e3264f48473e074 | |
parent | fb177c549b807e4bfede2a65b7da50e935e5948d (diff) | |
download | aports-6eac49b05670715a85175ab6da5d5469b65a5892.tar.bz2 aports-6eac49b05670715a85175ab6da5d5469b65a5892.tar.xz |
testing/kakoune: add APKBUILD to known filetypes
-rw-r--r-- | testing/kakoune/APKBUILD | 10 | ||||
-rw-r--r-- | testing/kakoune/alpine-linux.kak | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/testing/kakoune/APKBUILD b/testing/kakoune/APKBUILD index 804b047ce9..7ddf97e633 100644 --- a/testing/kakoune/APKBUILD +++ b/testing/kakoune/APKBUILD @@ -1,14 +1,16 @@ # Maintainer: Jakub Skrzypnik <j.skrzypnik@openmailbox.org> pkgname=kakoune pkgver=2019.12.10 -pkgrel=0 +pkgrel=1 pkgdesc="Code editor heavily inspired by Vim, but with less keystrokes" url="http://kakoune.org" arch="all" license="Unlicense" makedepends="ncurses-dev asciidoc" subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/mawww/kakoune/archive/v$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/mawww/kakoune/archive/v$pkgver.tar.gz + alpine-linux.kak + " builddir="$srcdir/$pkgname-$pkgver/src" build() { @@ -21,6 +23,8 @@ check() { package() { make PREFIX="/usr" DESTDIR="$pkgdir/" debug=no install + install -Dm644 $srcdir/alpine-linux.kak $pkgdir/usr/share/kak/autoload/filetype/ } -sha512sums="9ed866a27f1dbbab701dcb7412450c4dd8c20cafebaedda351a0b67b9489b1ad8de82fa527b357a55aab86b0dc3e2b435f7d6177fd056331f5576ddb7befbd15 kakoune-2019.12.10.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 +} |