summaryrefslogblamecommitdiff
path: root/user/perl-file-slurp/APKBUILD
blob: 803f37b85a4c8792f8135d67a8f822fd4504f894 (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.24
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="b866b96384e07e735b8e52391a6a003be39fdf416855064c28e94d5fc28ccb90dc18dfb8db4bfe13e403f92544fb05a6a1feaa6f7bc5ca774d5074c23a64074c  File-Slurp-9999.24.tar.gz"