fix vim-dart-plugin-git

This commit is contained in:
Trent Palmer 2019-05-23 21:03:39 -07:00
parent 189f56619c
commit bc74df1c8f
2 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
pkgbase = vim-dart-plugin-git
pkgdesc = Syntax highlighting for Dart in Vim
pkgver = 0.1.0.r51.g8ffc3e2
pkgver = r87.8ffc3e2
pkgrel = 1
url = https://github.com/dart-lang/dart-vim-plugin
arch = any
@ -9,7 +9,7 @@ pkgbase = vim-dart-plugin-git
depends = vim-runtime
provides = vim-dart-plugin
conflicts = vim-dart-plugin
source = vim-dart-plugin-git::git+https://github.com/dart-lang/dart-vim-plugin.git
source = git+https://github.com/dart-lang/dart-vim-plugin.git
sha512sums = SKIP
pkgname = vim-dart-plugin-git

View File

@ -4,7 +4,7 @@
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=vim-dart-plugin-git
pkgver=0.1.0.r51.g8ffc3e2
pkgver=r87.8ffc3e2
pkgrel=1
pkgdesc='Syntax highlighting for Dart in Vim'
arch=('any')
@ -14,16 +14,16 @@ depends=('vim-runtime')
makedepends=('git')
conflicts=('vim-dart-plugin')
provides=('vim-dart-plugin')
source=("$pkgname::git+https://github.com/dart-lang/dart-vim-plugin.git")
source=(git+https://github.com/dart-lang/dart-vim-plugin.git)
sha512sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/-/.r/;s/-/./'
cd "${srcdir}/dart-vim-plugin"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
cd "dart-vim-plugin"
local installpath="$pkgdir/usr/share/vim/vimfiles"
install -dm755 "$installpath"
cp -rt "$installpath" autoload doc ftdetect ftplugin indent plugin syntax