aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-mro-compat/APKBUILD
blob: 24052ece5394c6bd15c779a193b7ceaf67f96be1 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      

                                                           

                       
           
        
                                                          
                                              






                                       
                                                                                 
 





                                    

           
                      



                                                                 
                      
            


           

                                      


                                                                           
                                                                                                                                                                     
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-mro-compat
_pkgreal=MRO-Compat
pkgver=0.13
pkgrel=2
pkgdesc="mro::* interface compatibility for Perls < 5.9.5"
url="https://metacpan.org/release/MRO-Compat/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

check() {
	cd "$builddir"
	make test
}

prepare() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="3311c37c8fc73acaf68bae2b12315a448a87de8f756e817c967cf49b753cf218e8c762ecc44890297afd82193d71b2407060db0bc70720d228b31c0a30de10c1  MRO-Compat-0.13.tar.gz"