summaryrefslogblamecommitdiff
path: root/user/perl-yaml-pp/APKBUILD
blob: 7c0645e05c7d2b32da64c248ee09033c37dafa37 (plain) (tree)


































                                                                                                                                                                   
# 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.032
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="87544b4dc99cce71382deeb742b033556412b129b717752e93093667e26fb5e3bbbed5d016a4bd9eeb9cf390dd86eae444375976911f6400e12b1882a5c7f71f  YAML-PP-0.032.tar.gz"