Date: Saturday, May 25, 2019 @ 11:05:41 Author: foutrelis Revision: 470346
archrelease: copy trunk to community-staging-any Added: perl-text-template/repos/community-staging-any/ perl-text-template/repos/community-staging-any/PKGBUILD (from rev 470345, perl-text-template/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: perl-text-template/repos/community-staging-any/PKGBUILD (from rev 470345, perl-text-template/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-05-25 11:05:41 UTC (rev 470346) @@ -0,0 +1,32 @@ +# Contributor: Sébastien Luttringer <se...@archlinux.org> + +pkgname=perl-text-template +pkgver=1.55 +pkgrel=2 +pkgdesc='Expand template text with embedded perl' +arch=('any') +url='http://search.cpan.org/dist/Text-Template' +license=('PerlArtistic' 'GPL') +depends=('perl') +checkdepends=('perl-test-warnings' 'perl-test-more-utf8') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/M/MS/MSCHOUT/Text-Template-$pkgver.tar.gz") +sha512sums=('19a281cdfc56483bc717be5ae2367ae0edd27e2d31a693f9e54a660ec21cb6b51a8e5eae2e659d0053f59cdb6b9266cf1e175fd55e1abf9f9362c973c44d8173') + +build() { + cd Text-Template-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Text-Template-$pkgver + make test +} + +package() { + cd Text-Template-$pkgver + make install DESTDIR="$pkgdir/" +} + +# vim:set ts=2 sw=2 et: