From c9b0b87d7d4dfcf6dc8134500e01bfe8c01317e6 Mon Sep 17 00:00:00 2001 From: 8B411 <8B411@disroot.org> Date: Wed, 9 Jul 2025 19:10:42 +0300 Subject: [PATCH] New package: pistol-0.5.2 --- srcpkgs/pistol/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/pistol/template 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 +}