# Template file for 'fend'
pkgname=fend
version=1.3.2
revision=1
build_style=cargo
make_install_args="--path cli"
short_desc="Arbitrary-precision unit-aware calculator"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="MIT"
homepage="https://printfn.github.io/fend/"
changelog="https://raw.githubusercontent.com/printfn/fend/main/CHANGELOG.md"
distfiles="https://github.com/printfn/fend/archive/refs/tags/v${version}.tar.gz
 https://github.com/printfn/fend/releases/download/v${version}/fend.1"
checksum="9e49aaaa711dcbdad0fa68fd9c9b3e25a8ab4db57e941d6ec2060d8ae331e05d
 00383f830389634c9634cc4731692950422c71071ca55e691ae28c9bbe7b056a"
skip_extraction="fend.1"

post_install() {
	vlicense LICENSE.md
	vman ${XBPS_SRCDISTDIR}/${pkgname}-${version}/fend.1
}
