Package Details: vim-kotlin-git r86.e043f6a-2

Git Clone URL: https://aur.archlinux.org/vim-kotlin-git.git (read-only, click to copy)
Package Base: vim-kotlin-git
Description: Vim plugin for syntax, highlighting, basic indentation, and Syntastic support
Upstream URL: https://github.com/udalov/kotlin-vim
Keywords: highlighting kotlin kotlin-lang syntastic syntax vim
Licenses: Apache
Groups: vim-plugins
Conflicts: kotlin-vim, neovim-kotlin, vim-kotlin
Provides: kotlin-vim, neovim-kotlin, vim-kotlin
Replaces: kotlin-vim, neovim-kotlin
Submitter: lmartinez-mirror
Maintainer: relrel (thorwithpizza)
Last Packager: lmartinez-mirror
Votes: 9
Popularity: 0.000000
First Submitted: 2021-05-11 04:20 (UTC)
Last Updated: 2021-05-12 06:55 (UTC)

Required by (0)

Sources (1)

Latest Comments

midgard commented on 2020-12-07 13:55 (UTC)

I'm not on Arch any more, so can't test, sorry!

iosonofabio commented on 2019-08-20 17:51 (UTC) (edited on 2019-08-20 17:52 (UTC) by iosonofabio)

This will work:

Maintainer: Kirill Klenov horneds@gmail.com
Contributor: Mikhail felixoid Shiryaev <mr dot felixoid na gmail com>
Contributor: Fabio Zanini <fabio DOT zanini AT fastmail DOT fm>

pkgname=kotlin-vim pkgver=r73.b9fa728 pkgrel=1 pkgdesc='A vim Plugin on kotlin' arch=('any') license=('LGPL3') url='https://github.com/udalov/kotlin-vim' depends=('vim') makedepends=('git') source=("git+https://github.com/udalov/kotlin-vim.git#branch=master") sha256sums=(SKIP)

pkgver() { cd "$pkgname" ( 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}/${pkgname} rm README.md mkdir -p $pkgdir//usr/share/vim/vimfiles/{syntax,indent,ftdetect} cp syntax/kotlin.vim $pkgdir/usr/share/vim/vimfiles/syntax/kotlin.vim cp indent/kotlin.vim $pkgdir/usr/share/vim/vimfiles/indent/kotlin.vim cp ftdetect/kotlin.vim $pkgdir/usr/share/vim/vimfiles/ftdetect/kotlin.vim

}

vim:set ts=2 sw=2 et:

willemw commented on 2018-02-23 10:44 (UTC)

This VCS package should be named kotlin-vim-git and pkgver should not be hard-coded. ftdetect/kotlin.vi is missing an "m".

midgard commented on 2017-08-12 16:10 (UTC)

Hi, you shouldn't copy these files to the user's home directory from a PKGBUILD. If you now remove this package, the files will remain there (which is bad). Instead of ~/.vim/, you should install them in /usr/share/vim/vimfiles/. This will also make them available for all users, as you'd expect when you install a system package. Have a nice day!