From bc74df1c8f8d1110379a41fd5260832f1bda859e Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Thu, 23 May 2019 21:03:39 -0700 Subject: [PATCH] fix vim-dart-plugin-git --- vim-dart-plugin-git/.SRCINFO | 4 ++-- vim-dart-plugin-git/PKGBUILD | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/vim-dart-plugin-git/.SRCINFO b/vim-dart-plugin-git/.SRCINFO index 0286c59..f66ceca 100644 --- a/vim-dart-plugin-git/.SRCINFO +++ b/vim-dart-plugin-git/.SRCINFO @@ -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 diff --git a/vim-dart-plugin-git/PKGBUILD b/vim-dart-plugin-git/PKGBUILD index e2b16a5..da2d359 100644 --- a/vim-dart-plugin-git/PKGBUILD +++ b/vim-dart-plugin-git/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: Sven-Hendrik Haase 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