void-packages/srcpkgs/moar/template

25 lines
641 B
Bash

# Template file for 'moar'
pkgname=moar
version=1.18.2
revision=1
build_style=go
go_import_path=github.com/walles/moar
go_ldflags="-X main.versionString=${version}"
short_desc="Drop-in replacement for the less pager"
maintainer="Diego Magdaleno <diegomagdaleno@pm.me>"
license="BSD-2-Clause"
homepage="https://github.com/walles/moar"
changelog="https://github.com/walles/moar/releases"
distfiles="https://github.com/walles/moar/archive/refs/tags/v${version}.tar.gz"
checksum=eb1d63f9fc5ddcc493bf03622572499ecdcac9f9da81b5be2e9ab3740310de9b
conflicts="MoarVM"
do_check() {
go test ./...
}
post_install() {
vman moar.1
vlicense LICENSE
}