testing/perl-conf-libconfig: Fix license and modernize APKBUILD

This commit is contained in:
Timothy Legge 2020-03-14 21:43:13 +00:00 committed by Rasmus Thomsen
parent cd349134ea
commit 2f4034c38b

View File

@ -1,16 +1,17 @@
# Automatically generated by apkbuild-cpan, template 2
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-conf-libconfig
#_pkgreal is used by apkbuild-(m)cpan to find modules at MetaCpan
_pkgreal=Conf-Libconfig
pkgver=0.100
pkgrel=3
pkgrel=4
pkgdesc="Perl extension for libconfig"
url="https://metacpan.org/release/Conf-Libconfig/"
arch="all"
license="bsd" # Not an actual license, there are lots of BSD licenses
cpanmakedepends="perl-extutils-pkgconfig perl-test-deep perl-test-exception perl-test-warn"
makedepends="perl-dev libconfig-dev $cpanmakedepends"
license="BSD-3-Clause"
depends="perl"
makedepends="perl-dev libconfig-dev perl-test-deep perl-test-exception perl-extutils-pkgconfig perl-test-warn"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/C/CN/CNANGEL/Conf-Libconfig-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"