1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/vim-go/APKBUILD
2023-02-15 18:49:40 +01:00

35 lines
870 B
Text

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vim-go
pkgver=1.26
pkgrel=6
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="
30722557c2c66e3601a001b490bf4949bf9949a2b41db838f0fa3fba91abb30469d3726cee293afdd1afd385871d62db09e9e9bf2acf48d947b469a5a19888ac vim-go-1.26.tar.gz
"