1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/community/perl-test-easy/APKBUILD

35 lines
1.1 KiB
Text

# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-test-easy
_pkgreal=Test-Easy
pkgver=1.11
pkgrel=2
pkgdesc="facilitates easy testing patterns"
url="https://metacpan.org/release/Test-Easy/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-functional-utility perl-data-denter perl-hash-mostutils perl-test-resub perl-data-difflet"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BE/BELDEN/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="cbcaa726183de305881023f21bd33c752f4d0a732d49ac8ba8d43798204b73774f802d57c5da342e31a543230bf225e1f725c700c334a1b6c5a475b933035e77 Test-Easy-1.11.tar.gz"