void-packages/srcpkgs/rex/template

30 lines
1.2 KiB
Bash

# Template file for 'rex'
pkgname=rex
version=1.12.1
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=5c4c60a5ed35de6aff9494c5cf3bd760990161b32f77be7247c421bdfd047963
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
}