summaryrefslogblamecommitdiff
path: root/user/perl-file-slurp/APKBUILD
blob: 102d45097262c0cf3d8efeaef4c251ef4f935859 (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.22
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="54a77ed58bb93547d3ff0b01ebe39c9daaa5d16c335e16922ea2964edb5716f662d512c9c505a09c63f4bd465fb3e5f0af365ad3734c98e5225d53a5c616ca4e  File-Slurp-9999.22.tar.gz"