void-packages/srcpkgs/fend/template

22 lines
773 B
Bash

# Template file for 'fend'
pkgname=fend
version=1.3.0
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="f1f025c037ec98f929cfad914a68e923311d438ea9f043e662b536e0eeca5934
1cd621dac124dcb01a2202948f20e8f1f6a1a61558a7b4d90c5816a60c164fa7"
skip_extraction="fend.1"
post_install() {
vlicense LICENSE.md
vman ${XBPS_SRCDISTDIR}/${pkgname}-${version}/fend.1
}