mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
33 lines
868 B
Text
33 lines
868 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=vim-go
|
|
pkgver=1.25
|
|
pkgrel=1
|
|
pkgdesc="Go development plugin for Vim"
|
|
url="https://github.com/fatih/vim-go"
|
|
license="BSD-3-Clause"
|
|
arch="noarch"
|
|
depends="vim go gopls git"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/fatih/vim-go/archive/v$pkgver.tar.gz"
|
|
options="!check" # there are no tests
|
|
|
|
package() {
|
|
local destdir="$pkgdir/usr/share/vim/vimfiles"
|
|
mkdir -p "$destdir"
|
|
cp -ar \
|
|
autoload \
|
|
compiler \
|
|
doc \
|
|
ftdetect \
|
|
ftplugin \
|
|
gosnippets \
|
|
indent \
|
|
plugin \
|
|
rplugin \
|
|
syntax \
|
|
templates \
|
|
"$destdir"
|
|
install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
find "$destdir" -name '.git*' -delete
|
|
}
|
|
|
|
sha512sums="42263050893c9ab939346d5572b67e86e3ef3095ab0164ce7932bcf8702703bddffe621e6a658fd772af0e20a9ed06906d9f6b7db4a1cbfb1095e948d5883f56 vim-go-1.25.tar.gz"
|