diff --git a/srcpkgs/pistol/template b/srcpkgs/pistol/template new file mode 100644 index 00000000000..e077a9a527a --- /dev/null +++ b/srcpkgs/pistol/template @@ -0,0 +1,22 @@ +# Template file for 'pistol' +pkgname=pistol +version=0.5.2 +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=098d52bf9142410469c39bd181fe0f5674ffde2f8077e77e6e7e4c399f016526 + +post_install() { + asciidoctor -b manpage -d manpage README.adoc + vman pistol.1 + vlicense LICENSE +}