void-packages/srcpkgs/fend/template
2025-03-14 08:33:14 +00:00

23 lines
886 B
Bash

# Template file for 'fend'
pkgname=fend
version=1.5.6
revision=1
build_style=cargo
make_install_args="--path cli"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Arbitrary-precision unit-aware calculator"
maintainer="tranzystorekk <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>fend_man_${version}"
checksum="59073829d4963ce7c893bf805ec35986d10b90674dcfd67e2e74ebc043212594
17eff91e3bb1b573488f061eab9997081719a435e361856251f67a52345314a7"
skip_extraction="fend_man_${version}"
post_install() {
vlicense LICENSE.md
vman ${XBPS_SRCDISTDIR}/${pkgname}-${version}/fend_man_${version} fend.1
}