void-packages/srcpkgs/fend/template

22 lines
773 B
Bash

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