blob: 0e9e66150a8c1a483f9f4ee94783ab077ba74d70 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-games-solitaire-verify
_pkgreal=Games-Solitaire-Verify
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.2202
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-dir-manifest perl-exception-class
perl-list-moreutils"
checkdepends="perl-test-differences perl-path-tiny"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
perl Build.PL installdirs=vendor
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build
}
check() {
./Build test
}
package() {
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="8f4e905bba0082d7e70be590313bf2833a78ab388c1af57b5a4bdc1319e46f6d6ef53ac6312ee11884ca321e2ca2873b128c015e1a4f238ad095d30bb0179b63 Games-Solitaire-Verify-0.2202.tar.gz"
|