diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-21 15:56:55 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:46 +0000 |
commit | 19da977eac1a054a5131b9c57c876ee5a2f83c51 (patch) | |
tree | eecb57be61b081c37f274e24128e6a52b3a2b327 | |
parent | 4e34d6daaf15e0b94c5a27f9a8028e887ad76018 (diff) | |
download | packages-19da977eac1a054a5131b9c57c876ee5a2f83c51.tar.gz packages-19da977eac1a054a5131b9c57c876ee5a2f83c51.tar.bz2 packages-19da977eac1a054a5131b9c57c876ee5a2f83c51.tar.xz packages-19da977eac1a054a5131b9c57c876ee5a2f83c51.zip |
user/perl-yaml-pp: new package
-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" |