summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e724104c62469dcf68a116e130d9676f75ed1db2 (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: Hugo Rodrigues <hugorodrigues at openmailbox dot com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>

pkgname=vim-dart-plugin-git
pkgver=0.1.0
pkgrel=1
pkgdesc='Syntax highlighting for Dart in Vim'
arch=('any')
url='https://github.com/dart-lang/dart-vim-plugin'
license=('BSD')
depends=('vim')
makedepends=('git')
conflicts=('vim-dart-plugin')
provides=('vim-dart-plugin')
source=("git+https://github.com/dart-lang/dart-vim-plugin.git")
md5sums=('SKIP')

package() {
  cd "$srcdir"/dart-vim-plugin

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

  install -Dm0644 autoload/dart.vim "$installpath/autoload/dart.vim"
  install -Dm0644 ftdetect/dart.vim "$installpath/ftdetect/dart.vim"
  install -Dm0644 ftplugin/dart.vim "$installpath/ftplugin/dart.vim"
  install -Dm0644 indent/dart.vim "$installpath/indent/dart.vim"
  install -Dm0644 plugin/dart.vim "$installpath/plugin/dart.vim"
  install -Dm0644 syntax/dart.vim "$installpath/syntax/dart.vim"
  install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}