volta: update to 1.0.0

This commit is contained in:
Alex Lohr 2020-12-19 21:34:01 +01:00 committed by Érico Nogueira Rolim
parent db04f97943
commit 53d6520de3

View file

@ -1,26 +1,18 @@
# Template file for 'volta'
pkgname=volta
version=0.9.3
version=1.0.0
revision=1
archs="x86_64 i686" # Due to volta pulling pre-built binaries later. Evil.
build_helper="rust"
hostmakedepends="cargo pkg-config"
build_style="cargo"
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="JavaScript tool version sync helper"
maintainer="Alex Lohr <alex.lohr@logmein.com>"
license="BSD-2-Clause"
homepage="https://volta.sh/"
distfiles="https://github.com/volta-cli/volta/archive/v${version}.tar.gz"
checksum=3777585d5ebd24f9f53ac5d41c378c471211ded0d8e0e126110648fefbd0d316
checksum=55d4e245b81baa540d4f56f5e2cb93f0a62047a7a40423536305b38231e38d96
do_build() {
cargo build --release --target ${RUST_TARGET}
}
do_install() {
post_install() {
vlicense LICENSE
vbin target/${RUST_TARGET}/release/volta
vbin target/${RUST_TARGET}/release/volta-shim
vbin target/${RUST_TARGET}/release/volta-migrate
}