aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vim-go/APKBUILD
blob: 55e1ef7ee7bac34150aadfd458486700cc8edcaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vim-go
pkgver=1.25
pkgrel=0
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"