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






                                                           
            

























                                                                                        
                                                                                                                                                                   
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-yaml-pp
_pkgreal=YAML-PP
_author=TINITA
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.036
pkgrel=0
pkgdesc="Pure-Perl YAML 1.2 library"
url="https://metacpan.org/pod/YAML::PP"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
checkdepends="perl-test-deep perl-test-warn"
makedepends=""
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="62134d8d64617658f03543552675b5dfcf495bd55294bd4fd96988093fca7e8c1bfd93faa1db88baaa994d2b3bc2f1eb2d2826ac767ac3c6d6d4899abd4544b9  YAML-PP-0.036.tar.gz"