blob: dd3a14e4de1038d3bae2e34bcaae3d53c83e1249 (
plain)
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
38
39
40
41
42
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-test-script
_pkgreal=Test-Script
pkgver=1.23
pkgrel=0
pkgdesc="Basic cross-platform tests for scripts"
url="http://search.cpan.org/dist/Test-Script/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-ipc-run3 perl-probe-perl perl-test-simple"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
checkdepends="perl-test2-suite perl-capture-tiny"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
check() {
cd "$builddir"
make test
}
prepare() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="996564ba87b12849e86883b970117c9d5806be5b00d42207df1027f823a19497bf878640c46a8286e7d77afb8d1fbb3ef6dcfc0d21c2738a5ef124ddf5bc4834 Test-Script-1.23.tar.gz"
|