void-packages/srcpkgs/rex/template

29 lines
1.2 KiB
Bash

# Template file for 'rex'
pkgname=rex
version=1.13.0
revision=2
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=341c1f52c75b40ba73745beeea284b18c1770e4c395147af6547ac1d4e9c5b09
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
}