[arch-commits] Commit in perl-html-template/repos/extra-any (PKGBUILD PKGBUILD)

Eric Bélanger eric at archlinux.org
Mon Oct 17 23:07:31 EDT 2011


    Date: Monday, October 17, 2011 @ 23:07:30
  Author: eric
Revision: 140678

archrelease: copy trunk to extra-any

Added:
  perl-html-template/repos/extra-any/PKGBUILD
    (from rev 140677, perl-html-template/trunk/PKGBUILD)
Deleted:
  perl-html-template/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   54 ++++++++++++++++++++++++++++++------------------------
 1 file changed, 30 insertions(+), 24 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-18 03:07:15 UTC (rev 140677)
+++ PKGBUILD	2011-10-18 03:07:30 UTC (rev 140678)
@@ -1,24 +0,0 @@
-# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
-# Maintainer: Firmicus <francois.archlinux.org> 
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Charles Mauch <cmauch at gmail.com>
-
-pkgname=perl-html-template
-_cpanname=HTML-Template
-pkgver=2.9
-pkgrel=4
-pkgdesc="A simple HTML templating system"
-arch=any
-url="http://search.cpan.org/dist/HTML-Template"
-license=("GPL" "PerlArtistic")
-source=("http://www.cpan.org/authors/id/S/SA/SAMTREGAR/${_cpanname}-${pkgver}.tar.gz")
-md5sums=('cbf88a486b36284be55765ac7357c187')
-
-build() {
-  cd $startdir/src/${_cpanname}-${pkgver}
-  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
-  make || return 1
-  make install DESTDIR=$startdir/pkg || return 1
-  find $startdir/pkg -name '.packlist' -delete
-  find $startdir/pkg -name '*.pod' -delete
-}

Copied: perl-html-template/repos/extra-any/PKGBUILD (from rev 140677, perl-html-template/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-10-18 03:07:30 UTC (rev 140678)
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
+# Maintainer: Firmicus <francois.archlinux.org> 
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-html-template
+_cpanname=HTML-Template
+pkgver=2.10
+pkgrel=1
+pkgdesc="A simple HTML templating system"
+arch=('any')
+url="http://search.cpan.org/dist/HTML-Template"
+license=("GPL" "PerlArtistic")
+depends=('perl')
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/W/WO/WONKO/${_cpanname}-${pkgver}.tar.gz")
+md5sums=('49537aa239ab090698b9e1a0b0be7412')
+
+build() {
+  cd "${srcdir}/${_cpanname}-${pkgver}"
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "${srcdir}/${_cpanname}-${pkgver}"
+  make install DESTDIR="${pkgdir}"
+  find "${pkgdir}" -name '.packlist' -delete
+  find "${pkgdir}" -name '*.pod' -delete
+}



More information about the arch-commits mailing list