summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 11feb86c143063bc5aff770e50782c14520b10e7 (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
# Maintainer: Mazhar Hussain <realmazharhussain@gmail.com>
_pkgname=vim-blueprint-syntax
pkgname=vim-blueprint-syntax-git
pkgver=r9.b14164b
pkgrel=2
pkgdesc="Gtk blueprint files syntax highlighting support for vim"
arch=(any)
url="https://github.com/thetek42/vim-blueprint-syntax"
license=(MIT)
provides=($_pkgname)
conflicts=($_pkgname)
makedepends=(git)
source=("$_pkgname"::"git+$url")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd "$srcdir/$_pkgname"
  mkdir -p "$pkgdir"/usr/share/vim/vimfiles
  cp -r ftdetect syntax -t "$pkgdir"/usr/share/vim/vimfiles
}