summaryrefslogblamecommitdiff
path: root/user/perl-sort-key/APKBUILD
blob: c79e65b6cf8f71727f8719c5c9ff3edc632be781 (plain) (tree)
1
2
3
4
5
6
7
                                                         

                                                                   



                               





                                        
              
                      
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                   
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-sort-key
_pkgreal=Sort-Key
_author=SALVA
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.33
pkgrel=0
pkgdesc="Perl module for fast sorting"
url="https://metacpan.org/pod/Sort::Key"
arch="all"
license="Artistic-1.0-Perl"
depends="perl"
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="cf87cd2f5c0eea662dbdaf7faed5646ebd63925c71a093a79a9980d6de290b1128443954675893f263961e68d1db0e9e4ca1412a2734ce8dcdd271bcf4f1be17  Sort-Key-1.33.tar.gz"