mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 11:21:17 +02:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# Contributor: Breno Leitao <breno.leitao@gmail.com>
|
|
# Maintainer: Breno Leitao <breno.leitao@gmail.com>
|
|
pkgname=perl-specio
|
|
_pkgname=Specio
|
|
pkgver=0.36
|
|
pkgrel=2
|
|
pkgdesc="Type constraints and coercions for Perl"
|
|
url="https://github.com/houseabsolute/Specio"
|
|
arch="noarch"
|
|
license="Artistic"
|
|
depends="perl"
|
|
checkdepends="perl-test-fatal perl-test-needs perl-eval-closure perl-mro-compat perl-role-tiny perl-devel-stacktrace perl-module-runtime perl-moo"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/houseabsolute/$_pkgname/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$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="739007e046d7f2d6a40e561ea9aeffea298fd111b3aa66f1f964fd80843319e0cbd83f39f9457ce3e8d59973313a35ead8065a94588fed84d687cc8ea5634501 perl-specio-0.36.tar.gz"
|