# Template file for 'volta' pkgname=volta version=0.8.2 revision=1 archs="x86_64 i686" # Due to volta pulling pre-built binaries later. Evil. build_helper="rust" hostmakedepends="cargo pkg-config" makedepends="libressl-devel" short_desc="JavaScript tool version sync helper" maintainer="Alex Lohr " license="BSD-2-Clause" homepage="https://volta.sh/" distfiles="https://github.com/volta-cli/volta/archive/v${version}.tar.gz" checksum=df4668d4a5b187fd6a332f2099a5a90e14b5393da7de5636e638f6aee3d9fd29 pre_build() { cargo update --package openssl-sys --precise 0.9.55 } do_build() { cargo build --release --target ${RUST_TARGET} } do_install() { vlicense LICENSE vbin target/${RUST_TARGET}/release/volta vbin target/${RUST_TARGET}/release/volta-shim vbin target/${RUST_TARGET}/release/volta-migrate }