# Template file for 'fend'
pkgname=fend
version=1.3.3
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="90364fab29b51e1c359ff72f8ccfc3e8a3c96bbc8b38d0646c28c489a8071084
 758527c10e18c573f1f6e76b9ea15aae10de9defb3ecb01e2a2495f47cd927d9"
skip_extraction="fend.1"

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