summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 18:51:55 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 18:51:55 +0000
commit5ff0030ec8f296527fbaa7fa6a2fb6ef82c7008c (patch)
tree22ce820ea4a47918c72ad8099c4b05d45152d217 /user
parent6dbee0588721af0ed0cd704a5ec75dd5252f9a0e (diff)
downloadpackages-5ff0030ec8f296527fbaa7fa6a2fb6ef82c7008c.tar.gz
packages-5ff0030ec8f296527fbaa7fa6a2fb6ef82c7008c.tar.bz2
packages-5ff0030ec8f296527fbaa7fa6a2fb6ef82c7008c.tar.xz
packages-5ff0030ec8f296527fbaa7fa6a2fb6ef82c7008c.zip
user/perl-log-any: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-log-any/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-log-any/APKBUILD b/user/perl-log-any/APKBUILD
new file mode 100644
index 000000000..8b0e5a88d
--- /dev/null
+++ b/user/perl-log-any/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-log-any
+pkgver=1.707
+pkgrel=0
+pkgdesc="Bring Perl loggers and listeners together"
+url="https://metacpan.org/release/Log-Any"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/P/PR/PREACTION/Log-Any-$pkgver.tar.gz"
+builddir="$srcdir/Log-Any-$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="b5fc37130b3bb07c9fac896c539657fffad2e80c2055a09816e133e48f3f5db9a3b896ea11bf087b5fe6844a72fb6189656a3033c7761c00f471282747e1c290 Log-Any-1.707.tar.gz"