blob: e6f13fde52483e7a4cdc987a7c9c59337dbdc022 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-runvalgrind
_pkgreal=Test-RunValgrind
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.2.1
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 perl-path-tiny perl-test-trap valgrind"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz
portable-memory-assumptions.patch
"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
perl Build.PL installdirs=vendor
./Build
}
check() {
./Build test
}
package() {
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="3ebe26bb06aa48e590d2714ef944b7f23b7a9db83410dafa252155524edd19ed9947e382cf532dbaae6e661bd1d8566d65b365fdf568452d164c1fd30ad230a0 Test-RunValgrind-0.2.1.tar.gz
f2ebba2310df820666728e5f59c44f5b63cd03efdb42092f22700da13b4f099ae5c911292fb2a0f271f7629343727ea14c5953d2918c98419a580e5a998cb650 portable-memory-assumptions.patch"
|