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



                               
            



                                                   
                                       
              

                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-log-any
_pkgreal=Log-Any
_author=PREACTION
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.711
pkgrel=0
pkgdesc="Bring Perl loggers and listeners together"
url="https://metacpan.org/release/Log-Any"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
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="844aa5da3c4b4088e8ef4d6f03d5e137cf2f08dcb0b82373c8c9d5fbc7ab5a2c40a138cbefd72de96e089308c35f47c48741d83ce4281f9ed21495cde4b29131  Log-Any-1.711.tar.gz"