void-packages/srcpkgs/fend/template

21 lines
765 B
Bash

# Template file for 'fend'
pkgname=fend
version=1.4.3
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="GPL-3.0-or-later"
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="6ff204f937bcdb58e29ed2f076efa82aa323e39ab615c4ce87b5358e2237edc2
6c7bfaea6d1c81ab1dfef92b368f7ca9368853433ec831338749c213a474b1ed"
skip_extraction="fend.1"
post_install() {
vman ${XBPS_SRCDISTDIR}/${pkgname}-${version}/fend.1
}