summaryrefslogblamecommitdiff
path: root/user/perl-yaml-libyaml/APKBUILD
blob: 406a6578429f15275a120fcf2f1d3328a4b2c898 (plain) (tree)
1
2
3
4
5
6
7
8


                                                                   



                               
           





                                                      
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                       
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-yaml-libyaml
_pkgreal=YAML-LibYAML
_author=TINITA
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.83
pkgrel=0
pkgdesc="Perl YAML Serialization using XS and libyaml"
url="https://metacpan.org/pod/YAML::LibYAML"
arch="all"
license="Artistic-1.0-Perl AND GPL-2.0"
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="4d70846dae3f5e18e96da786037a6cf09cf06ebdc472243406bf828021071ebaf6f9ac0bab6a88c5208ffeb72c7012cbc054ebf5d6be0f562084db68d3de7451  YAML-LibYAML-0.83.tar.gz"