From 93f3a4de3fbcf73680b27a4cae0c9cee53d35613 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 31 May 2018 17:11:49 +0000 Subject: perl-unicode-string: update to 2.10 --- abs/core/perl_modules/perl-unicode-string/PKGBUILD | 35 ++++++++++++---------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/abs/core/perl_modules/perl-unicode-string/PKGBUILD b/abs/core/perl_modules/perl-unicode-string/PKGBUILD index 06ebb3e..1ff763b 100644 --- a/abs/core/perl_modules/perl-unicode-string/PKGBUILD +++ b/abs/core/perl_modules/perl-unicode-string/PKGBUILD @@ -1,28 +1,33 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: James Rayner +# Maintainer: Simon Perry +# Contributor: James Rayner # Contributor: Andrew Simmons pkgname=perl-unicode-string _realname=Unicode-String -pkgver=2.09 +pkgver=2.10 pkgrel=3 pkgdesc="String of Unicode characters for perl (UCS2/UTF16)" -arch=(i686 x86_64) +arch=('arm' 'armv6h' 'armv7h' 'i686' 'x86_64') license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') +depends=('perl') options=(!emptydirs) -source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz) -md5sums=('553e68e603723bf7c631f8701ab0d678') +source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/GAAS/${_realname}-${pkgver}.tar.gz) +sha256sums=('894a110ece479546af8afec0972eec7320c86c4dea4e6b354dff3c7526ba9b68') build() { - cd ${startdir}/src/${_realname}-${pkgver} - # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=${startdir}/pkg || return 1 + cd "${srcdir}/${_realname}-${pkgver}" + # in stall module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test +} - # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make install DESTDIR="${pkgdir}" } -- cgit v0.12