summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25e6230f6ac94cf6779b77ebdeff909650db1e77 (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
# Maintainer: olddog <jeff@impcode.com>

pkgname=vim-gutentags-git
pkgver=r244.4814b67
pkgrel=1
pkgdesc='A Vim plugin that manages your tag files'
arch=('any')
url='https://bolt80.com/gutentags/'
license=('MIT')
makedepends=('git')
groups=('vim-plugins')
depends=('vim-runtime')
source=("git+https://github.com/ludovicchabant/${pkgname%-git}.git")
md5sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "${pkgname%-git}"
  _installpath="${pkgdir}/usr/share/vim/vimfiles"
  mkdir -p "${_installpath}"
  cp -r autoload doc plugin res plat "${_installpath}"
  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}