summaryrefslogtreecommitdiff
path: root/user/perl-games-solitaire-verify/APKBUILD
blob: 2491b2cc760b53e3633d769b6b04f2dda2b8524a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-games-solitaire-verify
_pkgname=Games-Solitaire-Verify
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"
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/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$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"