blob: 1b099ab99d3be21f889d88ab70f8e020fa785c01 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-test-script
_pkgreal=Test-Script
pkgver=1.10
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-tester"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="011e805ea9967aab5d685b33e7d2e9be Test-Script-1.10.tar.gz"
sha256sums="d61db6a6b98aba023da5f8c7aac6bb30ce43ca76a7a03d73b1e3d85a8b8aab73 Test-Script-1.10.tar.gz"
sha512sums="805225ecadcf8797590f947894a21c3815bdb2ebf1a7016e067074e6415d8147a58de98b6a2c9f9914ad5f8ae62c339e74dee837e09305fdf97886f7723336ce Test-Script-1.10.tar.gz"
|