mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
https://metacpan.org/release/RJBS/Test-Deep-1.205/source/Changes also, recreate with apkbuild-cpan template 4
37 lines
1 KiB
Text
37 lines
1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-test-deep
|
|
pkgver=1.205
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Test-Deep
|
|
pkgdesc="Extremely flexible deep comparison"
|
|
url="https://metacpan.org/release/Test-Deep/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Test-Deep-$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="
|
|
ffdbad8361841e02bad99cad2e767b13bc5b94c11a85a2e10dc924b1268fa951931af22e7005009f3c9064090645f958eb9ccc098d16ecb00d1337a3a26c8d35 Test-Deep-1.205.tar.gz
|
|
"
|