# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> setvar pkgname = 'perl-test-differences' setvar _pkgreal = 'Test-Differences' setvar pkgver = '0.64' setvar pkgrel = '0' setvar pkgdesc = ""Test strings and data structures and show differences if not ok"" setvar url = ""http://search.cpan.org/dist/Test-Differences/"" setvar arch = ""noarch"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = ""perl-text-diff"" setvar cpanmakedepends = ""perl-module-build perl-capture-tiny perl-test-pod perl-test-pod-coverage"" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev $cpanmakedepends"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/$_pkgreal-$pkgver.tar.gz"" setvar _builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { cd $_builddir perl Build.PL installdirs=vendor || return 1 } proc build { cd $_builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}) ./Build && ./Build test } proc package { cd $_builddir ./Build install destdir="$pkgdir" || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar md5sums = ""ecfda620fe133e36a6e392d94ab8424d Test-Differences-0.64.tar.gz"" setvar sha256sums = ""9f459dd9c2302a0a73e2f5528a0ce7d09d6766f073187ae2c69e603adf2eb276 Test-Differences-0.64.tar.gz"" setvar sha512sums = ""118a4b8e3f61f64d6676c82913bb605a843a408f3fc5d960b40cc86f10423380a203b2a5604e15ba8d4e0cff96af88b551fba1c7aa2ada3c0ef408a27ee5f069 Test-Differences-0.64.tar.gz""