Date: Sunday, May 27, 2012 @ 03:43:49 Author: bluewind Revision: 159912
db-move: moved perl-template-toolkit from [staging] to [testing] (i686) Added: perl-template-toolkit/repos/testing-i686/ perl-template-toolkit/repos/testing-i686/PKGBUILD (from rev 159819, perl-template-toolkit/repos/staging-i686/PKGBUILD) Deleted: perl-template-toolkit/repos/staging-i686/ ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: perl-template-toolkit/repos/testing-i686/PKGBUILD (from rev 159819, perl-template-toolkit/repos/staging-i686/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-05-27 07:43:49 UTC (rev 159912) @@ -0,0 +1,32 @@ +# Maintainer: Firmicus <francois.archlinux.org> +# Contributor: Tom Killian <t...@runbox.com> +# Contributor: FJ <joos...@gmail.com> + +pkgname=perl-template-toolkit +_realname=Template-Toolkit +pkgver=2.22 +pkgrel=5 +pkgdesc="Perl template processing system" +arch=(i686 x86_64) +license=('PerlArtistic') +url="http://search.cpan.org/dist/${_realname}/" +depends=('perl-appconfig' 'perl>=5.10.0') +options=(!emptydirs) +source=(http://search.cpan.org/CPAN/authors/id/A/AB/ABW/${_realname}-$pkgver.tar.gz) +md5sums=('d98277f6420e5da6b93d99a8db2b3934') + +build() { + cd ${srcdir}/${_realname}-$pkgver + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd ${srcdir}/${_realname}-$pkgver + make install DESTDIR=${startdir}/pkg + + # remove perllocal.pod and .packlist + find ${startdir}/pkg -name perllocal.pod -delete + find ${startdir}/pkg -name .packlist -delete +}