Commit 11f08809 authored by Sören Tempel's avatar Sören Tempel
Browse files

testing/perl-test-command: new aport

Required by some packages for running tests (e.g. community/feh). Pretty
ancient software, but still seems to be in use and other distros (e.g.
Debian) also package it.
parent bcf7145a
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=perl-test-command
pkgver=0.11
pkgrel=0
pkgdesc="Perl module for testing external commands"
url="https://metacpan.org/release/Test-Command"
arch="noarch"
license="Artistic-Perl OR GPL-1.0-or-later"
depends="perl"
checkdepends="perl-pod-coverage perl-test-pod-coverage"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DA/DANBOO/Test-Command-$pkgver.tar.gz"
builddir="$srcdir/Test-Command-$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="
79a8f41132b965ad4f6e8b4d97f8fb6181a1e394bcf8825abda2c8ee12dd5f6ef8d7c69df84d306c3841bb516213742c4a0a43c2f3d6b39ce6e163d6d77f45f8 Test-Command-0.11.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment