mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
25 lines
821 B
Text
25 lines
821 B
Text
# 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"
|
|
source="https://github.com/rust-lang/rust.vim/archive/$_commit.zip"
|
|
|
|
builddir="$srcdir"/rust.vim-$_commit
|
|
build() {
|
|
:
|
|
}
|
|
|
|
package() {
|
|
_vimver="$(. "$APORTSDIR"/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
|
|
}
|
|
|
|
sha512sums="892f5ebbfed1cf9eaa8fe8bbaf9934ab98aacd8dd8874fe3faf82fcec1fec9973a25a7ff785bcf144e0dee8a0bdeefeaa1785f16caf84db9312b161c9fcef348 e651851c7455286f0ba42c46777e9677c68796ac.zip"
|