mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
volta: update to 1.0.0
This commit is contained in:
parent
db04f97943
commit
53d6520de3
1 changed files with 5 additions and 13 deletions
|
@ -1,26 +1,18 @@
|
||||||
# Template file for 'volta'
|
# Template file for 'volta'
|
||||||
pkgname=volta
|
pkgname=volta
|
||||||
version=0.9.3
|
version=1.0.0
|
||||||
revision=1
|
revision=1
|
||||||
archs="x86_64 i686" # Due to volta pulling pre-built binaries later. Evil.
|
archs="x86_64 i686" # Due to volta pulling pre-built binaries later. Evil.
|
||||||
build_helper="rust"
|
build_style="cargo"
|
||||||
hostmakedepends="cargo pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
short_desc="JavaScript tool version sync helper"
|
short_desc="JavaScript tool version sync helper"
|
||||||
maintainer="Alex Lohr <alex.lohr@logmein.com>"
|
maintainer="Alex Lohr <alex.lohr@logmein.com>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://volta.sh/"
|
homepage="https://volta.sh/"
|
||||||
distfiles="https://github.com/volta-cli/volta/archive/v${version}.tar.gz"
|
distfiles="https://github.com/volta-cli/volta/archive/v${version}.tar.gz"
|
||||||
checksum=3777585d5ebd24f9f53ac5d41c378c471211ded0d8e0e126110648fefbd0d316
|
checksum=55d4e245b81baa540d4f56f5e2cb93f0a62047a7a40423536305b38231e38d96
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release --target ${RUST_TARGET}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
||||||
vbin target/${RUST_TARGET}/release/volta
|
|
||||||
vbin target/${RUST_TARGET}/release/volta-shim
|
|
||||||
vbin target/${RUST_TARGET}/release/volta-migrate
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue