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