summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-21 15:56:55 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commit357d2f64adf716ebd89b248b4ffb13a4a8a90556 (patch)
tree47d207a117096b387e71241a36b3ed92128fc012
parent5227da223958c247b5e95d6f12a88839313cb88c (diff)
downloadpackages-357d2f64adf716ebd89b248b4ffb13a4a8a90556.tar.gz
packages-357d2f64adf716ebd89b248b4ffb13a4a8a90556.tar.bz2
packages-357d2f64adf716ebd89b248b4ffb13a4a8a90556.tar.xz
packages-357d2f64adf716ebd89b248b4ffb13a4a8a90556.zip
user/perl-yaml-pp: new package
-rw-r--r--user/perl-yaml-pp/APKBUILD35
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"