blob: 24b76317bdcf1e3c44c9f4f36c48dfc34f09b8fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: midgard <arch dot midgard "at symbol" janmaes "youknowwhat" com>
# Contributor: Kirill Klenov <horneds@gmail.com>
# Contributor: Mikhail felixoid Shiryaev <mr dot felixoid na gmail com>
pkgname=neovim-kotlin
pkgver=r73.b9fa728
pkgrel=1
pkgdesc='Kotlin highlighting and indentation for NeoVim'
arch=('any')
license=('LGPL3')
url='https://github.com/udalov/kotlin-vim'
depends=('neovim')
source=("git+https://github.com/udalov/kotlin-vim.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/kotlin-vim"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
package() {
cd "${srcdir}/kotlin-vim"
local i
for i in syntax indent ftdetect; do
install -Dm644 ${i}/kotlin.vim "${pkgdir}/usr/share/nvim/runtime/${i}/kotlin.vim"
done
}
# vim:set ts=2 sw=2 tw=100 et:
|