blob: 19cb6a67d54142996ddba5237e4d74ee1679aca7 (
plain) (
tree)
|
|
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-role-tiny
pkgver=2.001003
pkgrel=0
pkgdesc="A minimalist role composition tool"
url="https://metacpan.org/pod/Role::Tiny"
arch="noarch"
license="Artistic-1.0-Perl AND GPL-2.0"
depends="perl"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Role-Tiny-$pkgver.tar.gz"
builddir="$srcdir/Role-Tiny-$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="27105e0b5daf780364b48d4d8c9bc6e845b69b70966822d853fa17882c1fb8137c117464bbb03fab0c755f2f9cc5ae9cdb636ce9f7cb3bdd6ad5bae234b52238 Role-Tiny-2.001003.tar.gz"
|