summaryrefslogblamecommitdiff
path: root/user/perl-role-tiny/APKBUILD
blob: 91602644a9516c53fbe5365cb39e6b24c45233f9 (plain) (tree)
1
2
3
4
5
6
7
8


                                                                   



                               
               





                                            
              
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                        
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-role-tiny
_pkgreal=Role-Tiny
_author=HAARG
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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=""
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="27105e0b5daf780364b48d4d8c9bc6e845b69b70966822d853fa17882c1fb8137c117464bbb03fab0c755f2f9cc5ae9cdb636ce9f7cb3bdd6ad5bae234b52238  Role-Tiny-2.001003.tar.gz"