void-packages/srcpkgs/rex/template

29 lines
1.1 KiB
Bash

# Template file for 'rex'
pkgname=rex
version=1.13.4
revision=1
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-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=a86e9270159b41c9a8fce96f9ddc97c5caa68167ca4ed33e97908bfce17098cf
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
}