summaryrefslogblamecommitdiff
path: root/user/perl-mro-compat/APKBUILD
blob: c0a0a6aea834eefb9adc10ba318cc7e94bbf90b3 (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-mro-compat
_pkgreal=MRO-Compat
_author=HAARG
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.15
pkgrel=0
pkgdesc="mro::* interface compatibility for older Perl"
url="https://metacpan.org/release/MRO-Compat"
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="0767ea5e98414ce55607c599eecde686fe2defed99ade156ce8db63e508bfcd150aea48952eed7624f969c0ca185652a85eedb8dbcae82b826152d18d4152545  MRO-Compat-0.15.tar.gz"