# Contributor: A. Wilcox # Maintainer: Adélie Perl Team pkgname=perl-games-solitaire-verify pkgver=0.2000 pkgrel=0 pkgdesc="Verify solutions to solitaire games" url="https://metacpan.org/release/Games-Solitaire-Verify" arch="noarch" license="MIT" depends="perl-class-xsaccessor perl-exception-class perl-list-moreutils" makedepends="perl-dev perl-module-build" checkdepends="perl-test-differences perl-path-tiny" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Games-Solitaire-Verify-$pkgver.tar.gz" builddir="$srcdir/Games-Solitaire-Verify-$pkgver" build() { cd "$builddir" perl Build.PL installdirs=vendor export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` ./Build } check() { cd "$builddir" ./Build test } package() { cd "$builddir" ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="4abc5cd68bc57f96115a2f273aa16076b2f2ff50a597a8e1f4bf5b6f6dcb26771346d7cff3cadfc10eb1f8584c79141b06ecd6b07b6b19610405dc80977d9382 Games-Solitaire-Verify-0.2000.tar.gz"