summaryrefslogblamecommitdiff
path: root/user/perl-test-differences/APKBUILD
blob: 56d34bce89cbc35ee03e3026509c9743e1ccd9b4 (plain) (tree)
1
2
3
4


                                                                   
           




























                                                                                            
                                                                                                                                                                           
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-test-differences
pkgver=0.65
pkgrel=0
pkgdesc="Test strings and data structures and show differences if not ok"
url="https://metacpan.org/pod/Test::Differences"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0"
depends="perl perl-text-diff perl-capture-tiny perl-test-pod-coverage perl-test-pod"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Test-Differences-$pkgver.tar.gz"
builddir="$srcdir/Test-Differences-$pkgver"

build() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd "$builddir"
	make test
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="298058b0ca94b865ac84bbed86275e1d2c3f9eadafc70c017d471d39a78a1370112aa63c09ff072621b12b1e6a84e9b456fe05e17d0d2893e2f5fc9946f81b87  Test-Differences-0.65.tar.gz"