summaryrefslogblamecommitdiff
path: root/user/perl-games-solitaire-verify/APKBUILD
blob: 185e64623cd6be25d172ae8e62d55ec06ee5a70b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                  
                                                                   
                                   

                               




                                                         

                                                                     
                                        
                                                   
                          

                                                                                   

         





                                                               



                    



                                                                           
                                                                                                                                                                                   
# 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.2201
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="036c7eb81932ecf6cc6e9617f7e611e2a7dab032c60b3d7773554fe564fd93b54c4760e90f10c03408a4cf14bd23e54116f9b4f497113bdb2b2058d090ac2986  Games-Solitaire-Verify-0.2201.tar.gz"