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-10-21 18:33:59 -0500 |
commit | 357d2f64adf716ebd89b248b4ffb13a4a8a90556 (patch) | |
tree | 47d207a117096b387e71241a36b3ed92128fc012 /user | |
parent | 5227da223958c247b5e95d6f12a88839313cb88c (diff) | |
download | packages-357d2f64adf716ebd89b248b4ffb13a4a8a90556.tar.gz packages-357d2f64adf716ebd89b248b4ffb13a4a8a90556.tar.bz2 packages-357d2f64adf716ebd89b248b4ffb13a4a8a90556.tar.xz packages-357d2f64adf716ebd89b248b4ffb13a4a8a90556.zip |
user/perl-yaml-pp: new package
Diffstat (limited to 'user')
-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" |