diff options
Diffstat (limited to 'extra/perl-template-toolkit/PKGBUILD')
-rw-r--r-- | extra/perl-template-toolkit/PKGBUILD | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/extra/perl-template-toolkit/PKGBUILD b/extra/perl-template-toolkit/PKGBUILD index 3dedbd70f..dcec9fa06 100644 --- a/extra/perl-template-toolkit/PKGBUILD +++ b/extra/perl-template-toolkit/PKGBUILD @@ -1,38 +1,33 @@ -# $Id: PKGBUILD 186416 2013-05-26 09:25:42Z bluewind $ +# $Id: PKGBUILD 192119 2013-08-06 02:24:44Z eric $ # Maintainer: # Contributor: Firmicus <francois.archlinux.org> # Contributor: Tom Killian <tomk@runbox.com> # Contributor: FJ <joostef@gmail.com> pkgname=perl-template-toolkit -_realname=Template-Toolkit -pkgver=2.24 -pkgrel=2 +pkgver=2.25 +pkgrel=1 pkgdesc="Perl template processing system" arch=(i686 x86_64 'mips64el') +url="http://search.cpan.org/dist/Template-Toolkit/" license=('PerlArtistic') -url="http://search.cpan.org/dist/${_realname}/" -depends=('perl-appconfig' 'perl>=5.10.0') +depends=('perl-appconfig' 'perl') options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/A/AB/ABW/${_realname}-$pkgver.tar.gz) -md5sums=('c25fdab1beebf8818c2e624bc9f9d212') +source=(http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-Toolkit-$pkgver.tar.gz) +md5sums=('6be78743caf5fafe8de4a17c2d0c72ff') build() { - cd "${srcdir}/${_realname}-$pkgver" - # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd Template-Toolkit-$pkgver + perl Makefile.PL INSTALLDIRS=vendor TT_ACCEPT=y make } check() { - cd "${srcdir}/${_realname}-${pkgver}" - - # Failing test can be ignored as it doesn't indicate a problem in main code - # https://rt.cpan.org/Public/Bug/Display.html?id=84778 - make test || true + cd Template-Toolkit-$pkgver + make test } package() { - cd "${srcdir}/${_realname}-$pkgver" + cd Template-Toolkit-$pkgver make install DESTDIR="${pkgdir}" } |