aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-10-27 00:57:57 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-10-27 04:07:13 +0000
commit343dce5fb85eb353c5209aeeefca16bbfde4b4ed (patch)
treef41499eeb10fcb73da5a22ef08e3108340448715
parent681e11cca0fad8e69c4a6b5f7a595af888c9ca2b (diff)
downloadaports-343dce5fb85eb353c5209aeeefca16bbfde4b4ed.tar.gz
aports-343dce5fb85eb353c5209aeeefca16bbfde4b4ed.tar.bz2
aports-343dce5fb85eb353c5209aeeefca16bbfde4b4ed.tar.xz
main/perl-yaml-syck: upgrade to 1.34
-rw-r--r--main/perl-yaml-syck/APKBUILD27
1 files changed, 11 insertions, 16 deletions
diff --git a/main/perl-yaml-syck/APKBUILD b/main/perl-yaml-syck/APKBUILD
index 516a7d6732..d5531de5dd 100644
--- a/main/perl-yaml-syck/APKBUILD
+++ b/main/perl-yaml-syck/APKBUILD
@@ -1,12 +1,13 @@
-# Automatically generated by apkbuild-cpan, template 2
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-yaml-syck
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=YAML-Syck
-pkgver=1.32
-pkgrel=1
+pkgver=1.34
+pkgrel=0
pkgdesc="Fast, lightweight YAML loader and dumper"
-url="https://metacpan.org/release/YAML-Syck"
+url="https://metacpan.org/release/YAML-Syck/"
arch="all"
license="MIT"
depends="perl"
@@ -15,16 +16,15 @@ subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TO/TODDR/YAML-Syck-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- default_prepare
-
+build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
}
-build() {
+check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make
+ make test
}
package() {
@@ -32,9 +32,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-check() {
- export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make test
-}
-
-sha512sums="284d62f1fabdcca9fbdc57b732f5b9b2c2739020c620dbb66e84a89ea83e0a80580ec8fd8516a1c080dd9de9a817dbe357ee66041daa5103a8bf49c436355c99 YAML-Syck-1.32.tar.gz"
+sha512sums="18288f54026823e84b2d642d880d7758c5d95ba4b56d3fcf758efe59303ea71a49822d7c000b4c7b0629eccd4dcf3c940bc1c26f2b2ef89e4fdba78a35c04760 YAML-Syck-1.34.tar.gz"