[arch-commits] Commit in perl-text-template/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 24 10:49:06 UTC 2021


    Date: Monday, May 24, 2021 @ 10:49:06
  Author: felixonmars
Revision: 944357

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 944356, perl-text-template/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: perl-text-template/repos/community-staging-any/PKGBUILD (from rev 944356, perl-text-template/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 10:49:06 UTC (rev 944357)
@@ -0,0 +1,32 @@
+# Contributor: Sébastien Luttringer <seblu at archlinux.org>
+
+pkgname=perl-text-template
+pkgver=1.59
+pkgrel=2
+pkgdesc='Expand template text with embedded perl'
+arch=('any')
+url='https://search.cpan.org/dist/Text-Template'
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+checkdepends=('perl-test-warnings' 'perl-test-more-utf8')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/M/MS/MSCHOUT/Text-Template-$pkgver.tar.gz")
+sha512sums=('18c56dfe10aa3e7af7ea4821c1d8002d89eb7fdf46917877e7e132cfee59783a91953255f79a355f435eff16304ae206e59557328ef51593745ae6c50e3acab7')
+
+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:



More information about the arch-commits mailing list