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



                               
             




                                                         

                                                                     
                                                   
                                        
                          

                                                                                        

         
                                        



               



                    



                                                                           
                                                                                                                                                                                   
# 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
	./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"