diff options
author | root <root@rshg054.dnsready.net> | 2013-08-07 03:03:38 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-07 03:03:38 -0700 |
commit | b7d2dcfdb924359a7bdb0614960df38e6e4a9feb (patch) | |
tree | 80a10c5f9d110268b99228832caa676955cc459b /extra/perl-template-toolkit/PKGBUILD | |
parent | a2fb8ff517d83749ec3b5543aeba805f07ea257d (diff) |
Wed Aug 7 02:56:35 PDT 2013
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 0328f9f90..de6e6f8cb 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') +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}" } |