aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-encode/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/perl-encode/APKBUILD b/main/perl-encode/APKBUILD
index 197ff7c092..10cdc73a28 100644
--- a/main/perl-encode/APKBUILD
+++ b/main/perl-encode/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-encode
_pkgreal=Encode
-pkgver=3.05
+pkgver=3.06
pkgrel=0
pkgdesc="character encodings in Perl"
url="https://metacpan.org/release/Encode/"
@@ -16,6 +16,8 @@ source="https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/$_pkgreal-$pkgver.tar
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
+ default_prepare
+
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
@@ -65,4 +67,4 @@ doc() {
done
}
-sha512sums="463a3356358b95ab13be456cdb69994b7e38aecba2417933f67ea5d36d55252bf673c0499ceb3440ada2053b63f878a7840037bbe00b0140a2d98eb101ac9ad4 Encode-3.05.tar.gz"
+sha512sums="3609b2b7c4ed7303c3fca160a93390c91df9266bf03e53a98255b8c230615aa8f05a88e816744ecabbec4493de4b7ef2d7eb92afd2536ed48b0ff8a6be7a1532 Encode-3.06.tar.gz"