summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5fe408c91b9dd4473372cc4600cea023073dc194 (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
_pkgname=vim-pandoc-syntax
pkgname=vim-pandoc-syntax-git
pkgver=1434938917
pkgrel=1
pkgdesc="syntax plugin for Pandoc's extended markdown"
arch=('any')
url='https://github.com/vim-pandoc/vim-pandoc-syntax'
license=('MIT')
depends=('vim-plugin-runtime')
makedepends=('git')
provides=('vim-pandoc-syntax')
conflicts=('vim-pandoc-syntax')

source=('git://github.com/vim-pandoc/vim-pandoc-syntax.git')
sha512sums=('SKIP')

pkgver() {
  cd -- "$srcdir/$_pkgname"
  git log -n1 --pretty=format:%ct
}

package() {
  cd "$srcdir/$_pkgname"
  install -dm755 "$pkgdir/usr/share/vim/vimfiles"
  find * -maxdepth 0 -type d -exec cp -R -t "$pkgdir/usr/share/vim/vimfiles" '{}' \+
}