summaryrefslogblamecommitdiff
path: root/user/perl-class-data-inheritable/APKBUILD
blob: 198dab68e91cd24e7c7598a1967410f23bf1236d (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                                   
                               
               

                               
           



                                                              
                                       
              

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                                 
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-class-data-inheritable
_pkgreal=Class-Data-Inheritable
_author=RSHERER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.09
pkgrel=0
pkgdesc="Inheritable, overridable class data for Perl modules"
url="https://metacpan.org/release/Class-Data-Inheritable"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
makedepends="perl-dev"
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="2e76aaf12c8d26442d53746e5d74636bb35c55461efb6d9b5ea50a635e3f781707b2d7f9cb3da9113ed31de464d3931f9734c29ace2a7ee5c6e111392b6a97cf  Class-Data-Inheritable-0.09.tar.gz"