From bd5808a94ec958e912dab9ebff1920f8024631cf Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Sun, 1 Sep 2019 18:03:23 +0200 Subject: [PATCH] New package: cheat-2.5.1 --- srcpkgs/cheat/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/cheat/template diff --git a/srcpkgs/cheat/template b/srcpkgs/cheat/template new file mode 100644 index 00000000000..c9b1d535e61 --- /dev/null +++ b/srcpkgs/cheat/template @@ -0,0 +1,27 @@ +# Template file for 'cheat' +pkgname=cheat +version=2.5.1 +revision=1 +build_style=python3-module +pycompile_module="cheat" +conf_files="/etc/cheat" +hostmakedepends="python3" +depends="python3-docopt python3-termcolor python3-Pygments" +short_desc="Create and view interactive cheatsheets on the command-line" +maintainer="bra1nwave " +license="GPL-3.0-or-later, MIT" +homepage="https://github.com/cheat/cheat" +distfiles="${homepage}/archive/${version}.tar.gz" +checksum=9ae44cfc79478a7ba604871f3253e176f2bf3e1a4e698c9466e58a39d279effd + +post_install() { + vinstall cheat/autocompletion/cheat.bash 644 \ + usr/share/bash-completion/completions cheat + vinstall cheat/autocompletion/cheat.zsh 644 \ + usr/share/zsh/site-functions _cheat + vinstall cheat/autocompletion/cheat.fish 644 \ + usr/share/fish/completions + + vman man1/cheat.1.gz + vlicense licenses/mit.txt LICENSE.MIT +}