summaryrefslogtreecommitdiff
path: root/community/perl-log-dispatch-config/APKBUILD
blob: 366b5a4ed2996b450f8ef5d0b89d5e254566f56f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-log-dispatch-config
_pkgreal=Log-Dispatch-Config
pkgver=1.04
pkgrel=4
pkgdesc="Perl module for Log-Dispatch-Config"
url="https://metacpan.org/release/Log-Dispatch-Config/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-log-dispatch perl-io-stringy perl-appconfig"
makedepends="perl-namespace-autoclean perl-specio perl-params-validationcompiler"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	default_prepare
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	make
}

check() {
        make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="827b767806b206f244955f8f57b7206f84aac75012ec6443fb0c427e0fb0e52cad112cc012bd5c43a1e4a82d9fd49adb7bd024130579754dbe0ad4a2218460ef  Log-Dispatch-Config-1.04.tar.gz"