Package Details: kotlin-vim 1.1-1

Git Clone URL: https://aur.archlinux.org/kotlin-vim.git (read-only)
Package Base: kotlin-vim
Description: A vim Plugin on kotlin
Upstream URL: https://github.com/udalov/kotlin-vim
Licenses: LGPL3
Submitter: sakiiily
Maintainer: sakiiily
Last Packager: sakiiily
Votes: 6
Popularity: 0.000061
First Submitted: 2017-05-18 08:29
Last Updated: 2017-05-18 09:52

Latest Comments

iosonofabio commented on 2019-08-20 17:51

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

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

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!