summaryrefslogtreecommitdiff
path: root/user/perl-file-slurp
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 19:24:51 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 19:24:51 +0000
commitcb98b7e8103987d82f8700a30b3ead1d6fd8f0bd (patch)
treee48a8a23f6f67f3a14ac9b816f1a2586460133ff /user/perl-file-slurp
parent2e7e8ea0a6bdfdd8d23e4901a6bb3834a89ac428 (diff)
downloadpackages-cb98b7e8103987d82f8700a30b3ead1d6fd8f0bd.tar.gz
packages-cb98b7e8103987d82f8700a30b3ead1d6fd8f0bd.tar.bz2
packages-cb98b7e8103987d82f8700a30b3ead1d6fd8f0bd.tar.xz
packages-cb98b7e8103987d82f8700a30b3ead1d6fd8f0bd.zip
user/perl-file-slurp: new package
Diffstat (limited to 'user/perl-file-slurp')
-rw-r--r--user/perl-file-slurp/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-file-slurp/APKBUILD b/user/perl-file-slurp/APKBUILD
new file mode 100644
index 000000000..bfe483c7a
--- /dev/null
+++ b/user/perl-file-slurp/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-file-slurp
+pkgver=9999.19
+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"
+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="3fb8f452d625e321e77475cbc7d5672d53fe49945581561a0001be0a9464e67659303271648e102d52b6ebd04c87afc7432238fcade0c098f584f3b58c90ec82 File-Slurp-9999.19.tar.gz"