aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vim-sleuth/APKBUILD
blob: d36285b33211a1bfaf1447ce013947f81dff8e9c (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
34
35
36
37
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vim-sleuth
pkgver=1.1
pkgrel=0
pkgdesc="vim: Heuristically set buffer options"
url="https://github.com/tpope/vim-sleuth"
arch="noarch"
license="Vim"
depends="vim"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/tpope/vim-sleuth/archive/v$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	return 0
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir"/usr/share/vim/vim73
	cp -r plugin doc "$pkgdir"/usr/share/vim/vim73/
}

md5sums="beb1ac4938b87fa858d52ca28590393c  vim-sleuth-1.1.tar.gz"
sha256sums="18620f3b09a824e35983730ec82d2fddbc838452fcfedd9c252485727875c8a4  vim-sleuth-1.1.tar.gz"
sha512sums="216af1e0d1307b4a7292c5567451876a94de52a4f22c65f892e4fd674067347afc1c86377b5b57eb94ad9c37b3be9e300f730f15bc1cdba3ccf66ade7db8bd13  vim-sleuth-1.1.tar.gz"