# Contributor: Luka Vandervelden <lukc@upyum.com>
# Maintainer: Luka Vandervelden <lukc@upyum.com>
pkgname=vim-rust
pkgver=305
_commit=e651851c7455286f0ba42c46777e9677c68796ac
pkgrel=0
pkgdesc="Vim configuration for Rust."
url="https://github.com/rust-lang/rust.vim"
arch="noarch"
license="MIT"
depends="vim"
depends_dev=""
makedepends=""
install=""
subpackages=""
source="https://github.com/rust-lang/rust.vim/archive/$_commit.zip"


builddir="$srcdir"/rust.vim-$_commit
build() {
	:
}

package() {
	_vimver="$(. ../../main/vim/APKBUILD; echo $pkgver | sed 's/\.//;s/\..*//')"
	mkdir -p "$pkgdir"/usr/share/vim/vim$_vimver
	cp -r "$builddir"/*/ $pkgdir/usr/share/vim/vim$_vimver
}

md5sums="def924ab2dacc48bbbfe03136e53a29f  e651851c7455286f0ba42c46777e9677c68796ac.zip"
sha256sums="0b5462d03c06560dc19250fcc19f98a255a00c037b765de2d72f41b0afeb31a4  e651851c7455286f0ba42c46777e9677c68796ac.zip"
sha512sums="892f5ebbfed1cf9eaa8fe8bbaf9934ab98aacd8dd8874fe3faf82fcec1fec9973a25a7ff785bcf144e0dee8a0bdeefeaa1785f16caf84db9312b161c9fcef348  e651851c7455286f0ba42c46777e9677c68796ac.zip"
