summaryrefslogblamecommitdiff
path: root/user/perl-text-sprintf-named/APKBUILD
blob: 8d7ff5b9257fb5b47de425925d1e50b3a4534e29 (plain) (tree)
1
2
3
4
5
6
7

                                                                   


                               




                                                               
                                
                             
                      
                          
                                                                                        
         



                                                                 


                 



                                                                                                                                                                               
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-text-sprintf-named
_pkgreal=Text-Sprintf-Named
_author=SHLOMIF
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0403
pkgrel=0
pkgdesc="sprintf-like function for Perl with named conversions"
url="https://metacpan.org/release/Text-Sprintf-Named"
arch="noarch"
license="MIT"
depends="perl perl-module-build"
checkdepends="perl-test-warn"
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="93e56c8850274625e3156826f57d40820632dde24e9ebbfdf502d83d29c9796faac25a422e5a15d0c97fb67424f9d9abd93437e3eb0818c8338f42a59bc3adb3  Text-Sprintf-Named-0.0403.tar.gz"