blob: 8c25d2c348d833886a1e3f6a6b46c9a0a7f0947d (
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
|
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-role-tiny
pkgver=2.000008
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="c8a5032c18e1d441c8a8602037f3a7e5ee2a39b5f214bfd9dfdaa5f9a0e213d2b59278530b909d1bab1df40dfb4f49b58ef41c91b4f7f9a9a036278a373d12fb Role-Tiny-2.000008.tar.gz"
|