1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/testing/vim-rust/APKBUILD
Hugo Osvaldo Barrera cdd3ce01ff */*: drop redundant CARGO_PROFILE_* variables, collapse newlines
The cargo vars are now set in abuild.conf by default.

Newlines done with:

    find . -name APKBUILD -exec sed -i '/^$/N;/^\n$/D' {} \;

See also: https://stackoverflow.com/a/4522043
2023-01-07 02:42:07 +01:00

29 lines
877 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"
depends_dev=""
makedepends=""
install=""
subpackages=""
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"