diff options
Diffstat (limited to 'user/perl-yaml-pp')
-rw-r--r-- | user/perl-yaml-pp/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-yaml-pp/APKBUILD b/user/perl-yaml-pp/APKBUILD new file mode 100644 index 000000000..7c0645e05 --- /dev/null +++ b/user/perl-yaml-pp/APKBUILD @@ -0,0 +1,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.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" |