void-packages/srcpkgs/fend/template

23 lines
822 B
Bash

# Template file for 'fend'
pkgname=fend
version=1.4.8
revision=1
build_style=cargo
make_install_args="--path cli"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
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="5e973bf7f53416039d5efc2f2ec360add5184625644e986808c21e5bd292fc58
c0c8f8d188b5baa6c355edb81b57e48f4bff16be47edbbba9287dfb5f45222d7"
skip_extraction="fend.1"
post_install() {
vman ${XBPS_SRCDISTDIR}/${pkgname}-${version}/fend.1
}