summaryrefslogblamecommitdiff
path: root/user/perl-yaml-libyaml/APKBUILD
blob: fba6f81d1a1d8980702917947d8577556f713953 (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.88
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="3a91fc85a87662ac5145fca6715be99644896056430ab628e1a1b8d7a1d60ae5505ecb2f168302aacb1a9ca4669c5f71a47a5e0249ebc7787ebbc032bef75b4e  YAML-LibYAML-0.88.tar.gz"