summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e4458be4e3db75ae3bc65bfc6aaa140de9891f7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Robert Kubosz <kuboszrobert at gmail dot com>

pkgname=vim-fastfold
pkgver=5.3
pkgrel=1
pkgdesc='Vim plugin to speed up syntax foldmethod'
arch=('any')
url='https://github.com/Konfekt/FastFold'
groups=('vim-plugins')
depends=('vim')
install='vimdoc.install'
source=("${url}/archive/${pkgver}.tar.gz")
md5sums=('8c9fa8c07b262575bf27d7a5d94316db')

package() {
  cd "${srcdir}/FastFold-${pkgver}"

  installpath="${pkgdir}/usr/share/vim/vimfiles"

  install -Dm644 doc/FastFold.txt "$installpath/doc/fastfold.txt"
  install -Dm644 plugin/fastfold.vim "$installpath/plugin/fastfold.vim"
}