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




                                                                   


                               


                                            
                                            

                                           

                               
                          
                                                                                        

                                    
         
                                                                 



            



                 




                                                                                                                                                                    
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-yaml-tiny
_pkgreal=YAML-Tiny
_author=ETHER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.73
pkgrel=1
pkgdesc="YAML manipulation library for Perl"
url="https://metacpan.org/release/YAML-Tiny"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-json-maybexs"
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 || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="5999e220025aa8076e5e0e9e73e80c2da21660e77f6744d73e8e29962221d02d33a36e9829c44abf7d4f45abae069d8e121c8019bd1600b7e64db5e54efd9987  YAML-Tiny-1.73.tar.gz"