void-packages/srcpkgs/fend/template

24 lines
886 B
Bash

# Template file for 'fend'
pkgname=fend
version=1.5.3
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="b31befe0df562c5626c52d1cef70d272115054fa707debe56ade9e4f2f28a956
3f14b3f69ce9c2720070d6548976eeff60f965ab4ffc9a7109982e179a1be85e"
skip_extraction="fend_man_${version}"
post_install() {
vlicense LICENSE.md
vman ${XBPS_SRCDISTDIR}/${pkgname}-${version}/fend_man_${version} fend.1
}