blob: c6f31b336287b24c952f7539038f22e79ee74ddb (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-runvalgrind
pkgver=0.2.0
pkgrel=0
pkgdesc="Tests an external program is 'valgrind clean' from Perl"
url="https://metacpan.org/release/Test-RunValgrind"
arch="noarch"
license="MIT"
depends="perl-path-tiny perl-test-trap"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-RunValgrind-$pkgver.tar.gz
portable-memory-assumptions.patch
"
builddir="$srcdir/Test-RunValgrind-$pkgver"
build() {
cd "$builddir"
perl Build.PL installdirs=vendor
./Build
}
check() {
cd "$builddir"
./Build test
}
package() {
cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="e85547d24fb7c8b0a8fd1a84826eec51d3c4c94d83cbb525517515ecc27b0ba530378a10f8a2ffee9fb1f48eb2e65a6a2654738ee069bd85adcec7f4c205f143 Test-RunValgrind-0.2.0.tar.gz
f2ebba2310df820666728e5f59c44f5b63cd03efdb42092f22700da13b4f099ae5c911292fb2a0f271f7629343727ea14c5953d2918c98419a580e5a998cb650 portable-memory-assumptions.patch"
|