24 lines
886 B
Bash
24 lines
886 B
Bash
# Template file for 'fend'
|
|
pkgname=fend
|
|
version=1.5.1
|
|
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="2f52729dee2e775c1adc52879a95429dd00748fe183df0f744f763b7f0d2aedf
|
|
ce9443949567678c12e8243a13de9e64096d1523a3849e81468b3b9795560c62"
|
|
skip_extraction="fend_man_${version}"
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
vman ${XBPS_SRCDISTDIR}/${pkgname}-${version}/fend_man_${version} fend.1
|
|
}
|