Package Details: kotlin-vim r75.2697016-2

Git Clone URL: (read-only, click to copy)
Package Base: kotlin-vim
Description: Kotlin plugin for Vim
Upstream URL:
Licenses: Apache
Groups: vim-plugins
Submitter: sakiiily
Maintainer: relrel
Last Packager: relrel
Votes: 7
Popularity: 0.34
First Submitted: 2017-05-18 08:29
Last Updated: 2020-08-28 20:30

Latest Comments

iosonofabio commented on 2019-08-20 17:51

This will work:

Maintainer: Kirill Klenov
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='' depends=('vim') makedepends=('git') source=("git+") 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 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

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

midgard commented on 2017-08-12 16:10

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!