summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 03:50:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 03:50:54 +0000
commit6245f88c90f9a1af194cce98daf3c2ee9b64d063 (patch)
tree5413b2a86c528275240f90da839ea9097e179b87 /user
parent032965bafbd297b9094ed06e69193ad7b67a7e35 (diff)
downloadpackages-6245f88c90f9a1af194cce98daf3c2ee9b64d063.tar.gz
packages-6245f88c90f9a1af194cce98daf3c2ee9b64d063.tar.bz2
packages-6245f88c90f9a1af194cce98daf3c2ee9b64d063.tar.xz
packages-6245f88c90f9a1af194cce98daf3c2ee9b64d063.zip
user/perl-mixin-linewise: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-mixin-linewise/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-mixin-linewise/APKBUILD b/user/perl-mixin-linewise/APKBUILD
new file mode 100644
index 000000000..7c6a5339f
--- /dev/null
+++ b/user/perl-mixin-linewise/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-mixin-linewise
+pkgver=0.108
+pkgrel=0
+pkgdesc="Line-wise reader and writer for Perl strings"
+url="https://metacpan.org/release/Mixin-Linewise"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends="perl-perlio-utf8_strict perl-sub-exporter"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-$pkgver.tar.gz"
+builddir="$srcdir/Mixin-Linewise-$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="2789126737e2798a94ab6d90614503717dbc6c4178d19a9dd1e32689869e8e1298ec168fd6ab53580e65b5ad7ff94e065dca4afb7b71c2bb453810da61d29450 Mixin-Linewise-0.108.tar.gz"