# Template file for 'fend'
pkgname=fend
version=1.3.1
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="b0af31ef4d39d1c767fdb9fd1f998b555b5b435570e597795bdb3a29027de0b4
 1cd621dac124dcb01a2202948f20e8f1f6a1a61558a7b4d90c5816a60c164fa7"
skip_extraction="fend.1"

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