hex: use cargo buildstyle
This commit is contained in:
parent
0c3a7fe54d
commit
739bb8aa08
|
@ -1,21 +1,15 @@
|
|||
# Template file for 'hex'
|
||||
pkgname=hex
|
||||
version=0.1.2
|
||||
revision=1
|
||||
hostmakedepends="cargo"
|
||||
revision=2
|
||||
build_style=cargo
|
||||
short_desc="Futuristic take on hexdump"
|
||||
maintainer="SolitudeSF <solitudesf@protonmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/sitkevij/hex"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=36793a5b0c2be13974b8436952888cc0fad7651fdabd378749e9adc8518dcf1c
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
cargo build --release ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin target/release/hex
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue