summaryrefslogblamecommitdiff
path: root/user/perl-yaml-libyaml/APKBUILD
blob: c196a75068625c5062d1d9e3fc88dc2e1fb1eded (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


                                                                   
           









                                                      

                                                                                     


















                                                                           
                                                                                                                                                                       
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-yaml-libyaml
pkgver=0.79
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"
depends_dev=""
makedepends="$depends_dev perl-dev"
install=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TI/TINITA/YAML-LibYAML-$pkgver.tar.gz"
#source="https://cpan.metacpan.org/authors/id/I/IN/INGY/YAML-LibYAML-$pkgver.tar.gz"
builddir="$srcdir/YAML-LibYAML-$pkgver"

build() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd "$builddir"
	make test
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="47b0f2d42ff972224af6fffa09631c7bcf221867cba3a0f9d56ce48f5a34bde56f3fdedbf15c47843ef24aba65676bfc7df5ce3d26b8f50011f2730071ca4877  YAML-LibYAML-0.79.tar.gz"