summaryrefslogtreecommitdiff
path: root/user/perl-yaml-pp/APKBUILD
blob: 95ff06419da377bfd447271e94686919b5f4a295 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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.035
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="8256d86690a683ee2fe2830893bf61837ee16c75ae345ec4115e40792856c5fc98052d4fec822eae6bf43fa27cde0bd3dee05b7583ba0aab6aed5dddf72baa1a  YAML-PP-0.035.tar.gz"