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

                                                           




                                   
            



                                                        
                                  



















                                                                                        
                                                                                                                                                                                  
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-log-any-adapter-screen
_pkgreal=Log-Any-Adapter-Screen
_author=PERLANCAR
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.141
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-1.0+"
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="825a3b71bf418c3f79723e96fb5db985182cf054fb07517bc4e1e2594efbfff37f94f3ca69e122b818feb6f8b5e6eca8fdb63b7997cf54a9ce099cce5d096471  Log-Any-Adapter-Screen-0.141.tar.gz"