void-packages/srcpkgs/hex/template

18 lines
471 B
Bash

# Template file for 'hex'
pkgname=hex
version=0.4.2
revision=3
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=a7cc1ece337fc19e77fbbbca145001bc5d447bde4118eb6de2c99407eb1a3b74
post_install() {
# avoid conflict with helix
mv ${DESTDIR}/usr/bin/hx ${DESTDIR}/usr/bin/hex
vlicense LICENSE
}