aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-25 01:08:23 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-25 01:18:18 -0300
commit8f6c169bef89ace92627b7858c5d11b85ec88b27 (patch)
treee1ca685ea5183b8a81a43f8059249de40c02dbd7
parent8aa16da1ef90edd1601aaae9e871809914917168 (diff)
downloadaports-8f6c169bef89ace92627b7858c5d11b85ec88b27.tar.bz2
aports-8f6c169bef89ace92627b7858c5d11b85ec88b27.tar.xz
community/perl-unicode-string: upgrade to 2.10
-rw-r--r--community/perl-unicode-string/APKBUILD31
-rw-r--r--community/perl-unicode-string/perl-Unicode-String-2.09-undefined.patch12
2 files changed, 11 insertions, 32 deletions
diff --git a/community/perl-unicode-string/APKBUILD b/community/perl-unicode-string/APKBUILD
index c00461e881..f7db206f7c 100644
--- a/community/perl-unicode-string/APKBUILD
+++ b/community/perl-unicode-string/APKBUILD
@@ -3,47 +3,38 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-unicode-string
_pkgreal=Unicode-String
-pkgver=2.09
-pkgrel=7
+pkgver=2.10
+pkgrel=0
pkgdesc="String of Unicode characters for perl (UCS2/UTF16)"
-url="http://search.cpan.org/dist/Unicode-String/"
+url="https://metacpan.org/release/Unicode-String"
arch="all"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=" "
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_pkgreal-$pkgver.tar.gz
- perl-Unicode-String-2.09-undefined.patch
- "
+source="https://cpan.metacpan.org/authors/id/G/GA/GAAS/GAAS/Unicode-String-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
- cd "$builddir"
- make test
+ make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="88bd5fe4a1e8ac05b7da5f75411f3e2cb17fb756ca926ace7f46d047ba7a7f22e54462efb61c2f0bf651d2c63d6fe74bffa8b7bcf49aa59847135a43b5cde759 Unicode-String-2.09.tar.gz
-b25a6c91d5ecc11dd3c8a675024111a3dfadaf3b22f2b3000f5fb3f7e79741b28aafa709b3c72ff7e6f4f936d8fbc38f50ca5994513b47badb57a31872e99450 perl-Unicode-String-2.09-undefined.patch"
+sha512sums="e1fad14dcda301d1e5199c9968efe2f33408fd56ef701d7ede40262a50d4d13a3b78ed7aab5c5319e63f551d40dd48b06dfd74e49f3e434b7b2f8d2f592f0b0e Unicode-String-2.10.tar.gz"
diff --git a/community/perl-unicode-string/perl-Unicode-String-2.09-undefined.patch b/community/perl-unicode-string/perl-Unicode-String-2.09-undefined.patch
deleted file mode 100644
index 184b447e95..0000000000
--- a/community/perl-unicode-string/perl-Unicode-String-2.09-undefined.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru libunicode-string-perl-2.09.pristine/lib/Unicode/CharName.pm libunicode-string-perl-2.09/lib/Unicode/CharName.pm
---- libunicode-string-perl-2.09.pristine/lib/Unicode/CharName.pm 2005-10-25 19:11:00.000000000 +0100
-+++ libunicode-string-perl-2.09/lib/Unicode/CharName.pm 2012-01-24 12:56:59.730653088 +0000
-@@ -77,7 +77,7 @@
- return join("", "HANGUL SYLLABLE ", @s)
- }
- }
-- _init_names() unless defined %NAMES;
-+ _init_names() unless %NAMES;
- $NAMES{sprintf("%04X",$code)}
- }
-