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

                               
           



                                                      
                                       
              
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                       
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-yaml-libyaml
_pkgreal=YAML-LibYAML
_author=INGY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.86
pkgrel=0
pkgdesc="Perl YAML Serialization using XS and libyaml"
url="https://metacpan.org/pod/YAML::LibYAML"
arch="all"
license="Artistic-1.0-Perl OR GPL-1.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="4f95c5bd9627d129391a237f26096ed30ca32b50340fa2bf3d56b66c4fb87150f8399e6f1328103379269c5577f61cbe7247bf2da06021e3f8efb402106ef257  YAML-LibYAML-0.86.tar.gz"