summaryrefslogblamecommitdiff
path: root/user/perl-yaml-libyaml/APKBUILD
blob: 32d2058c0d40628829fdfa48d883961fbc1e27ac (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.82
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="b4535ab4d19ea8a9c4aaa9683937bc822c59f80439fa1da0a02e057ce5d95f271ab06ce58346c58eeacd99d29bf276f5a1289992ca569f63d65ceff9b833da0c  YAML-LibYAML-0.82.tar.gz"