summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3bfdb54a846180f0e0cb497176c8e838182b3bd4 (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
# Maintainer: Matt Monaco <cx monaco matt>
# contributor: Mikhail felixoid Shiryaev <mr.felixoid na gmail com>

pkgname=vim-webapi
pkgver=0.3.4.gdfc6063
pkgrel=1
pkgdesc="Vim Interface to Web API"
arch=(any)
url=https://github.com/mattn/webapi-vim
license=(UNKNOWN)
depends=(vim curl)
makedepends=(git)
source=(git://github.com/mattn/webapi-vim.git)
md5sums=(SKIP)
install=vim-helptags.install

pkgver()
{
	cd "$srcdir"/webapi-vim
	local ver=$(git describe --tags )
	printf "%s" "${ver//-/.}"
}

package()
{
	cd "$srcdir"/webapi-vim
	for f in autoload/webapi/* doc/* example/*; do
		install -D "$f" "$pkgdir"/usr/share/vim/vimfiles/"$f"
	done
}