Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: volta-0.7.1 #18756

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 30 additions & 0 deletions srcpkgs/volta/template
@@ -0,0 +1,30 @@
# Template file for 'volta'
pkgname=volta
version=0.7.1
revision=1
archs="x86_64 i686"
atk marked this conversation as resolved.
Show resolved Hide resolved
build_helper="rust"
hostmakedepends="cargo 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/${pkgname}/archive/v${version}.tar.gz"
checksum=e53a07e167bb64103f36901423f5a377a2ea89ecfdd7a1343e69d659f99f9c1b

pre_build() {
cargo update --package openssl-sys --precise 0.9.53
}

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
}
2 changes: 2 additions & 0 deletions srcpkgs/volta/update
@@ -0,0 +1,2 @@
site="https://github.com/volta-cli/volta/releases"
pattern="\bv(\d+\.\d+\.\d+)\b"