summaryrefslogblamecommitdiff
path: root/user/perl-specio-library-path-tiny/APKBUILD
blob: 907d3245d9abea293449c90444597c4a8d88324d (plain) (tree)
































                                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-specio-library-path-tiny
pkgver=0.04
pkgrel=0
pkgdesc="Path::Tiny types and coercions for Specio"
url="https://metacpan.org/release/Specio-Library-Path-Tiny"
arch="noarch"
license="Apache-2.0"
depends="perl-file-pushd perl-path-tiny perl-specio"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Specio-Library-Path-Tiny-$pkgver.tar.gz"
builddir="$srcdir/Specio-Library-Path-Tiny-$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="22ecd74d31a2ee4be2deac887b178d571c31aac1867838b38cb362ee6f5deaf3082282d39241a3432bfc14db86651a13283be68b0e23e224cf8ff502503d17de  Specio-Library-Path-Tiny-0.04.tar.gz"