mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
testing/perl-test-kwalitee: new aport
This commit is contained in:
parent
4d64f83e73
commit
b2ba4facbf
38
testing/perl-test-kwalitee/APKBUILD
Normal file
38
testing/perl-test-kwalitee/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||||
|
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||||
|
pkgname=perl-test-kwalitee
|
||||||
|
pkgver=1.28
|
||||||
|
pkgrel=0
|
||||||
|
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
|
_pkgreal=Test-Kwalitee
|
||||||
|
pkgdesc="Test the Kwalitee of a distribution before you release it"
|
||||||
|
url="https://metacpan.org/release/Test-Kwalitee/"
|
||||||
|
arch="noarch"
|
||||||
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||||
|
depends="perl perl-module-cpants-analyse"
|
||||||
|
checkdepends="perl-cpan-meta-check perl-test-deep perl-test-warnings"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Kwalitee-$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||||
|
INSTALLDIRS=vendor \
|
||||||
|
NO_PACKLIST=1 \
|
||||||
|
NO_PERLLOCAL=1
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
155d029ae92365c719720db0252a0a9edf731280409c4c2a5e787d44c18c6d999d8018e83ee85b4fba5569b5dc8bfa1851080825b31d269ac58c8d6e26de2f26 Test-Kwalitee-1.28.tar.gz
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user