void-packages/srcpkgs/fend/template

22 lines
773 B
Bash

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