diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-log-any/APKBUILD | 33 |
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" |