void-packages/srcpkgs/rex/template

30 lines
1.2 KiB
Bash

# Template file for 'rex'
pkgname=rex
version=1.12.2
revision=1
archs=noarch
wrksrc="Rex-${version}"
build_style=perl-module
hostmakedepends="perl perl-AWS-Signature4 perl-Clone-Choose
perl-Data-Validate-IP perl-Devel-Caller perl-Digest-HMAC
perl-File-ShareDir-Install perl-Hash-Merge perl-IO-String perl-IO-Tty
perl-JSON-MaybeXS perl-LWP perl-List-MoreUtils perl-Net-OpenSSH
perl-Net-SFTP-Foreign perl-PadWalker perl-Parallel-ForkManager
perl-Sort-Naturally perl-String-Escape perl-Term-ReadKey perl-Text-Glob
perl-URI perl-XML-Simple perl-YAML"
makedepends="perl"
depends="${hostmakedepends}"
checkdepends="${hostmakedepends}
perl-Test-Deep perl-Test-Pod perl-Test-UseAllModules"
short_desc="Perl-based Deployment and Configuration Management"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="http://www.rexify.org/"
distfiles="https://cpan.metacpan.org/authors/id/F/FE/FERKI/Rex-${version}.tar.gz"
checksum=2bbcb781d7914ed88535933e7769033d8a1b53f938e5989c3da84f5fd7055df7
post_install() {
vinstall share/rex-tab-completion.bash 644 usr/share/bash-completion/completions rex
vinstall share/rex-tab-completion.zsh 644 usr/share/zsh/site-functions _rex
}