summaryrefslogblamecommitdiff
path: root/user/perl-sub-exporter/APKBUILD
blob: 8c73ff5876e67234818a2b33a22d28e1d0671e79 (plain) (tree)
1
2
3
4
5
6
7
                                                          

                         


                               
            




                                                            
                                                             
                      
                          
                                                                                        

                                    
         
                                                                 



            



                 



                                                                           
                                                                                                                                                                        
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-sub-exporter
_pkgreal=Sub-Exporter
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.989
pkgrel=0
pkgdesc="A sophisticated exporter for custom-built routines"
url="https://metacpan.org/release/Sub-Exporter"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl-data-optlist perl-sub-install perl-params-util"
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="7c491349bc9704604a268b45eed17db30c49f43f3c67f088d132d7f35c20eb1ddec46eca88b1e966fb48cf9580cb7007cc240f6d3ac9ba21cffbc7437b7dccbb  Sub-Exporter-0.989.tar.gz"