aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-file-slurp/APKBUILD
blob: 64150ca9176156ab1d61d7b025ef80ada327fb82 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                      
              

                                                                          
                                             
             


                                               
                          
                                                                                      
 
                                    

           
                                                                 
                       


         



            
                 


           
                                      


                                                                           
                                                                                                                                                                        
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-file-slurp
_pkgreal=File-Slurp
pkgver=9999.32
pkgrel=0
pkgdesc="Simple and Efficient Reading/Writing/Modifying of Complete Files"
url="https://metacpan.org/release/File-Slurp"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/File-Slurp-$pkgver.tar.gz"

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

prepare() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	default_prepare
}

build() {
	make
}

check() {
	make test
}

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

sha512sums="413337e0257e95e8e8d2aabf684bec81e746000a741809935b058490b8c42b494064f724e618b250330d8bb67a0a7a2a5adad17e3e6c96d4b193531a192a4d56  File-Slurp-9999.32.tar.gz"