# Maintainer: Trent # Contributor: Matthias Lisin # Contributor: Hugo Rodrigues # Contributor: Sven-Hendrik Haase pkgname=vim-dart-plugin-git pkgver=r92.f8486e5 pkgrel=1 pkgdesc='Syntax highlighting for Dart in Vim' arch=('any') url='https://github.com/dart-lang/dart-vim-plugin' license=('BSD') depends=('vim-runtime') makedepends=('git') conflicts=('vim-dart-plugin') provides=('vim-dart-plugin') source=(git+https://github.com/dart-lang/dart-vim-plugin.git) sha512sums=('SKIP') pkgver() { cd "${srcdir}/dart-vim-plugin" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { cd "dart-vim-plugin" local installpath="$pkgdir/usr/share/vim/vimfiles" install -dm755 "$installpath" cp -rt "$installpath" autoload doc ftdetect ftplugin indent plugin syntax install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }