aboutsummaryrefslogtreecommitdiffstats
path: root/community/runvimtests/APKBUILD
blob: af951f2c02be0dc3c3ccd65d0170fd952c2654be (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
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=runvimtests
_pkgname=runVimTests
pkgver=1.30
pkgrel=0
pkgdesc="A testing framework for Vim"
url="https://github.com/inkarkat/runVimTests"
arch="noarch"
license="Vim"
depends="vim bash"
options="!check" # no return codes from test suite
install="$pkgname.post-install"
source="$pkgname-$pkgver.tar.gz::https://github.com/inkarkat/runVimTests/archive/$pkgver.tar.gz"

builddir="$srcdir/$_pkgname-$pkgver"

package() {
	local _dest="$pkgdir/usr/share/vim/vimfiles"

	install -t "$_dest/bin" -D bin/runVimMsgFilter.vim
	install -t "$_dest/bin" -D bin/runVimTests.sh

	cp -R doc autoload "$_dest"

	mkdir -p "$pkgdir/usr/bin"
	cd "$pkgdir/usr/bin"
	ln -s ../share/vim/vimfiles/bin/runVimTests.sh runVimTests
}

sha512sums="d016d0e1fec531d168ceb9c2bd6df34ab31592c5349867ea979ebf45111e86d21893a3edafc326bb246019b5f94733dbaa87a289b49c09d6e60da3fdde42b383  runvimtests-1.30.tar.gz"