# Template file for 'pistol'
pkgname=pistol
version=0.5.3
revision=1
build_style=go
go_import_path=github.com/doronbehar/pistol
go_package="${go_import_path}/cmd/pistol"
hostmakedepends="ruby-asciidoctor"
makedepends="file-devel"
short_desc="File previewer for command line file managers"
maintainer="8B411 <8B411@disroot.org>"
license=MIT
homepage="https://github.com/doronbehar/pistol"
changelog="https://github.com/doronbehar/pistol/releases"
distfiles="https://github.com/doronbehar/pistol/archive/v${version}.tar.gz"
checksum=4a0bd18e5eb7489497a7af9d182abe5e4ec3a93064060b03d6702bc69adde146

post_install() {
	asciidoctor -b manpage -d manpage README.adoc
	vman pistol.1
	vlicense LICENSE
}
