summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <adelie@aerdan.vulpine.house>2020-02-14 17:39:49 -0500
committerKiyoshi Aman <adelie@aerdan.vulpine.house>2020-02-14 17:40:12 -0500
commitc780f9f8d7184d1e316914982dbbaea0ed3c2b88 (patch)
tree8d02d2ab47acb22396a64811b0b8b988e9e26b01
parent1c3ce44b014dfb864852ea6aa6bfdc91494a4c48 (diff)
downloadpackages-c780f9f8d7184d1e316914982dbbaea0ed3c2b88.tar.gz
packages-c780f9f8d7184d1e316914982dbbaea0ed3c2b88.tar.bz2
packages-c780f9f8d7184d1e316914982dbbaea0ed3c2b88.tar.xz
packages-c780f9f8d7184d1e316914982dbbaea0ed3c2b88.zip
user/perl-log-any-adapter-screen: new package
-rw-r--r--user/perl-log-any-adapter-screen/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-log-any-adapter-screen/APKBUILD b/user/perl-log-any-adapter-screen/APKBUILD
new file mode 100644
index 000000000..7631325e1
--- /dev/null
+++ b/user/perl-log-any-adapter-screen/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-log-any-adapter-screen
+_pkgreal=Log-Any-Adapter-Screen
+_author=PERLANCAR
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.140
+pkgrel=0
+pkgdesc="Perl module for logging to GNU screen"
+url="https://metacpan.org/pod/Log::Any::Adapter::Screen"
+arch="noarch"
+license="Artistic-2.0 OR GPL-2.0-only"
+depends="perl perl-log-any screen"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/Log-Any-Adapter-Screen-$pkgver"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="a7ded27bbc548108169e59964783ba6200c3afd798219bcd9daea47c390128db628c30392eb7eaebb93b5e3b59f51c717599518130b3ba31a1765cca3b4c362c Log-Any-Adapter-Screen-0.140.tar.gz"