summaryrefslogblamecommitdiff
path: root/system/perl-try-tiny/APKBUILD
blob: 6f4e9de14c35b66046d85cd83a92ad230c7aa07a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      

                                                           

                     


                               
           

                                                                     
                                           

                                           

              
                          
                                                                                        

                                    
         
                                                                 



            



                 



                                                                           
                                                                                                                                                                   
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-try-tiny
_pkgreal=Try-Tiny
_author=ETHER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.31
pkgrel=0
pkgdesc="Minimal Perl try/catch with proper environment preservation"
url="https://metacpan.org/release/Try-Tiny"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl"
makedepends=""
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="1a3c852e56797d81da60a4f4887cb70fc575eca83d10b8cd12fe5d5d0008a967801218f3a5277a2f1347ade95b9515c1f237333e491742d06614c0beecf44768  Try-Tiny-0.31.tar.gz"