summaryrefslogblamecommitdiff
path: root/user/perl-games-solitaire-verify/APKBUILD
blob: c4536a1481e230b320cd1fa819fe7775746a1bbc (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.2500
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="4ba898d4c4e159e887b4d52bedf35bf7e763dd754735eb3e8ecd9b3703f8e1bbf0c0987c75a842323e800b3671116afd6f1916a8fcd0f0cf5ea0bf43664e35d7  Games-Solitaire-Verify-0.2500.tar.gz"