blob: f0885ea2588dbaff82c173dea37cf8e73f75e69a (
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: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-specio
_pkgreal=Specio
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.48
pkgrel=0
pkgdesc="Type constraints and coercions for Perl"
url="https://metacpan.org/release/Specio"
arch="noarch"
license="Artistic-2.0"
depends="perl-devel-stacktrace perl-eval-closure perl-mro-compat
perl-module-runtime perl-role-tiny perl-sub-quote perl-test-fatal
perl-try-tiny perl-xstring"
checkdepends="perl-test-needs"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="76fd2aa398008238d55714700581782c95b635a4d4198b1c51daecfec770b61b9898351cbc2bf999f4d837691de657c51a94581c0f0b21b67b605770d507729a Specio-0.48.tar.gz"
|