summaryrefslogblamecommitdiff
path: root/user/perl-list-someutils-xs/APKBUILD
blob: a6c499ce0f8a011ea92d86c33945707a72dc33ff (plain) (tree)
1
2
3
4
5
6
7
                                                  
                                                          
                              



                               






                                                    
                                                     
                      
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                            
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-list-someutils-xs
_pkgreal=List-SomeUtils-XS
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.58
pkgrel=0
pkgdesc="XS implementation of Perl List::SomeUtils"
url="https://metacpan.org/release/List-SomeUtils-XS"
arch="all"
license="Artistic-2.0"
depends=""
checkdepends="perl-test-leaktrace perl-test-warnings"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="f89f5a35224a69a59c1d512a819bd725b324f0968ea447824a42c741c4ba66ee9522db939bd3e75d190e0f2f75d54100912b83a86d5e7dd1079025a57a245c38  List-SomeUtils-XS-0.58.tar.gz"