void-packages/srcpkgs/fend/template

22 lines
773 B
Bash

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