mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-25 03:51:30 -08:00
fix vim-dart-plugin-git
This commit is contained in:
parent
189f56619c
commit
bc74df1c8f
@ -1,6 +1,6 @@
|
|||||||
pkgbase = vim-dart-plugin-git
|
pkgbase = vim-dart-plugin-git
|
||||||
pkgdesc = Syntax highlighting for Dart in Vim
|
pkgdesc = Syntax highlighting for Dart in Vim
|
||||||
pkgver = 0.1.0.r51.g8ffc3e2
|
pkgver = r87.8ffc3e2
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/dart-lang/dart-vim-plugin
|
url = https://github.com/dart-lang/dart-vim-plugin
|
||||||
arch = any
|
arch = any
|
||||||
@ -9,7 +9,7 @@ pkgbase = vim-dart-plugin-git
|
|||||||
depends = vim-runtime
|
depends = vim-runtime
|
||||||
provides = vim-dart-plugin
|
provides = vim-dart-plugin
|
||||||
conflicts = 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
|
sha512sums = SKIP
|
||||||
|
|
||||||
pkgname = vim-dart-plugin-git
|
pkgname = vim-dart-plugin-git
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
|
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
|
||||||
|
|
||||||
pkgname=vim-dart-plugin-git
|
pkgname=vim-dart-plugin-git
|
||||||
pkgver=0.1.0.r51.g8ffc3e2
|
pkgver=r87.8ffc3e2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Syntax highlighting for Dart in Vim'
|
pkgdesc='Syntax highlighting for Dart in Vim'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -14,16 +14,16 @@ depends=('vim-runtime')
|
|||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
conflicts=('vim-dart-plugin')
|
conflicts=('vim-dart-plugin')
|
||||||
provides=('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')
|
sha512sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$pkgname"
|
cd "${srcdir}/dart-vim-plugin"
|
||||||
git describe --long --tags | sed 's/-/.r/;s/-/./'
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname"
|
cd "dart-vim-plugin"
|
||||||
local installpath="$pkgdir/usr/share/vim/vimfiles"
|
local installpath="$pkgdir/usr/share/vim/vimfiles"
|
||||||
install -dm755 "$installpath"
|
install -dm755 "$installpath"
|
||||||
cp -rt "$installpath" autoload doc ftdetect ftplugin indent plugin syntax
|
cp -rt "$installpath" autoload doc ftdetect ftplugin indent plugin syntax
|
||||||
|
Loading…
Reference in New Issue
Block a user