# Maintainer: Simon Perry # Contributor: James Rayner # Contributor: Andrew Simmons pkgname=perl-unicode-string _realname=Unicode-String pkgver=2.10 pkgrel=3 pkgdesc="String of Unicode characters for perl (UCS2/UTF16)" arch=('arm' 'armv6h' 'armv7h' 'i686' 'x86_64') license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" depends=('perl') options=(!emptydirs) source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/GAAS/${_realname}-${pkgver}.tar.gz) sha256sums=('894a110ece479546af8afec0972eec7320c86c4dea4e6b354dff3c7526ba9b68') build() { 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 } package() { cd "${srcdir}/${_realname}-${pkgver}" make install DESTDIR="${pkgdir}" }