summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-31 17:11:49 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-31 17:11:49 (GMT)
commit93f3a4de3fbcf73680b27a4cae0c9cee53d35613 (patch)
tree90cdcc9df67e89466e94860fc069edbe003a2c34 /abs/core
parentc4613a7d73982d053f1ac7417a9ace5ba2d03644 (diff)
downloadlinhes_pkgbuild-93f3a4de3fbcf73680b27a4cae0c9cee53d35613.zip
linhes_pkgbuild-93f3a4de3fbcf73680b27a4cae0c9cee53d35613.tar.gz
linhes_pkgbuild-93f3a4de3fbcf73680b27a4cae0c9cee53d35613.tar.bz2
perl-unicode-string: update to 2.10
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/perl_modules/perl-unicode-string/PKGBUILD35
1 files 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 <iphitus@gmail.com>
+# Maintainer: Simon Perry <aur [at] sanxion [dot] net>
+# Contributor: James Rayner <iphitus@gmail.com>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
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}"
}