summaryrefslogblamecommitdiff
path: root/user/perl-log-any/APKBUILD
blob: 913a545ffc06cb7f0c1c9e5d7a7619633a3dc3f3 (plain) (tree)
1
2
3
4
5
6
7


                                                                   



                               





                                                   
              

                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-log-any
_pkgreal=Log-Any
_author=PREACTION
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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="b5fc37130b3bb07c9fac896c539657fffad2e80c2055a09816e133e48f3f5db9a3b896ea11bf087b5fe6844a72fb6189656a3033c7761c00f471282747e1c290  Log-Any-1.707.tar.gz"