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

Florian Pritz bluewind at archlinux.org
Thu Jun 1 08:58:38 UTC 2017


    Date: Thursday, June 1, 2017 @ 08:58:37
  Author: bluewind
Revision: 231881

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

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

Copied: perl-text-template/repos/community-staging-any/PKGBUILD (from rev 231879, perl-text-template/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 08:58:37 UTC (rev 231881)
@@ -0,0 +1,31 @@
+# $Id$
+# Contributor: Sébastien Luttringer <seblu at archlinux.org>
+
+pkgname=perl-text-template
+pkgver=1.47
+pkgrel=2
+pkgdesc='Expand template text with embedded perl'
+arch=('any')
+url='http://search.cpan.org/dist/Text-Template'
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/M/MS/MSCHOUT/Text-Template-$pkgver.tar.gz")
+md5sums=('8929caccface52375e162d200e328131')
+
+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