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



                               
             




                                                         

                                                                     
                                                   
                                        
                          

                                                                                        

         
                                        



               



                    



                                                                           
                                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-games-solitaire-verify
_pkgreal=Games-Solitaire-Verify
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.2403
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="6c246631680dd18cd78e3a6158947e8a39d1125fa4bd9eaf19905a3f1940eff97515fad35e22c69a6270d077ffe9db65ad8ec02682bdc5bd8e7ffa0c718be8eb  Games-Solitaire-Verify-0.2403.tar.gz"