summaryrefslogblamecommitdiff
path: root/user/perl-file-slurp/APKBUILD
blob: cec87b5ac64b6b43427f81062a920b47e804f44e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                                   
              







                                                        

                                                                                      


















                                                                           
                                                                                                                                                                        
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-file-slurp
pkgver=9999.27
pkgrel=0
pkgdesc="Simple and efficient file manipulation in Perl"
url="https://metacpan.org/release/File-Slurp"
arch="noarch"
license="Artistic-1.0-Perl"
depends=""
makedepends="perl-dev"
subpackages="$pkgname-doc"
#source="https://cpan.metacpan.org/authors/id/U/UR/URI/File-Slurp-$pkgver.tar.gz"
source="https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/File-Slurp-$pkgver.tar.gz"
builddir="$srcdir/File-Slurp-$pkgver"

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

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

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

sha512sums="24a5e2b93f7fda65cbdf0e54687de3af511cfd3909dcf4c79610882bf4f119afdf2bd60de28fcb8d9155b94a29ca4f901e28930a810949e490ba1c584d7a6ee0  File-Slurp-9999.27.tar.gz"