summaryrefslogblamecommitdiff
path: root/user/perl-file-slurper/APKBUILD
blob: ab89599fc9cd60361dc1e6b31cbdadb9dc3bebe3 (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-file-slurper
_pkgreal=File-Slurper
_author=LEONT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.013
pkgrel=0
pkgdesc="Efficient file slurper for Perl"
url="https://metacpan.org/release/File-Slurper"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
checkdepends="perl-test-warnings"
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="c804372b5828eaec777083fddef06d805efadfdfb5fd99aa6be68f914e70d9d812bb08fe6e1c661fcbbb0deec1460cd6813c3bf3c0a91c047636eb2bec594ccb  File-Slurper-0.013.tar.gz"