aboutsummaryrefslogblamecommitdiffstats
path: root/community/perl-par-packer/APKBUILD
blob: d880ee727ce7b9006b334c9a628a2d0967554cbd (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      


                                                           

                                                              

            
                                                                                                            
                                              
          
                                               
                                                                                           


                            
                          

                                                                                    

         

                                                                     
            

 
         
                                                                
                 

 



                                                                           
 


                                                                                                                                                         
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-par-packer
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=PAR-Packer
pkgver=1.054
pkgrel=0
pkgdesc="App::Packer::Backend interface, for generating stand-alone executables, perl scripts and PAR files"
url="https://metacpan.org/release/PAR-Packer/"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl-archive-zip perl-par perl-module-scandeps perl-getopt-argvfile perl-par-dist"
makedepends="perl-dev"
checkdepends="perl-ipc-run3"

subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	make test
}

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

sha512sums="
ead965ad9cfa650deb8390b1d9294a61f4d656f269ea4b1a31315a1c5a268185fa5969e7703a2a436dc2627a433632cdeb42f2fb20998dac07bcc1eeeb38c4aa  PAR-Packer-1.054.tar.gz
"