diff options
Diffstat (limited to 'user/perl-file-slurp/APKBUILD')
-rw-r--r-- | user/perl-file-slurp/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-file-slurp/APKBUILD b/user/perl-file-slurp/APKBUILD new file mode 100644 index 000000000..102d45097 --- /dev/null +++ b/user/perl-file-slurp/APKBUILD @@ -0,0 +1,34 @@ +# 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" |