diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
---|---|---|
committer | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
commit | 9297468fa579836e3a6a381b798feb6b78217c2d (patch) | |
tree | 53168212f427afbcf0693b534530a4af803152e9 /user/perl-test-command-simple | |
parent | a63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff) | |
parent | da5a69b65a8791fffa6e93366ee585f87eff136d (diff) | |
download | packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2 packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip |
Merge branch 'master' into zfs
Diffstat (limited to 'user/perl-test-command-simple')
-rw-r--r-- | user/perl-test-command-simple/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/perl-test-command-simple/APKBUILD b/user/perl-test-command-simple/APKBUILD new file mode 100644 index 000000000..27ebb0f99 --- /dev/null +++ b/user/perl-test-command-simple/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-test-command-simple +pkgver=0.05 +pkgrel=0 +pkgdesc="Simple interface for testing external commands in Perl" +url="https://metacpan.org/pod/Test::Command::Simple" +arch="noarch" +license="Artistic-2.0 OR GPL-1.0+" +depends="perl" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DM/DMCBRIDE/Test-Command-Simple-$pkgver.tar.gz" +builddir="$srcdir/Test-Command-Simple-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="65c921785d775a782dae9d3a3b81350374cb97bb09dd604aab71aeaed4e6818e32d8fd60c97b88d3d11ff9be8e28f0c082246e4c8981f1e36b6268464fc71c9b Test-Command-Simple-0.05.tar.gz" |