blob: 52cd5ed2fc77b4c0dcb08fc3c58b2790a359b224 (
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
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-specio
_pkgreal="Specio"
pkgver=0.44
pkgrel=0
pkgdesc="Specio perl module"
url="https://metacpan.org/release/Specio"
arch="noarch"
license="Artistic-2.0"
depends="perl-test-needs perl-devel-stacktrace perl-eval-closure perl-mro-compat
perl-role-tiny perl-test-fatal perl-module-runtime perl-sub-quote"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Specio-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgreal-$pkgver
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="5292927383ff3eef3c32a81188a108c009367644117af23b31665550cc4b51d47f0bc0c6791dce3caebb27cd7a92307370f41afe62b65682205cd91b7e99cd43 Specio-0.44.tar.gz"
|