[arch-commits] Commit in perl-date-calc/repos/extra-any (PKGBUILD PKGBUILD)
Allan McRae
allan at archlinux.org
Fri Feb 17 09:04:07 UTC 2012
Date: Friday, February 17, 2012 @ 04:04:07
Author: allan
Revision: 150368
archrelease: copy trunk to extra-any
Added:
perl-date-calc/repos/extra-any/PKGBUILD
(from rev 150367, perl-date-calc/trunk/PKGBUILD)
Deleted:
perl-date-calc/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++----------------------------
1 file changed, 28 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-17 09:03:21 UTC (rev 150367)
+++ PKGBUILD 2012-02-17 09:04:07 UTC (rev 150368)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Kevin Piche <kevin at archlinux.org>
-# Contributor: K. Piche <kpiche at rogers.com>
-
-pkgname=perl-date-calc
-_realname=Date-Calc
-pkgver=6.3
-pkgrel=1
-pkgdesc="Perl module for Gregorian calendar date calculations"
-arch=(any)
-license=('PerlArtistic')
-url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl-bit-vector' 'perl>=5.10.0')
-options=(!emptydirs)
-source=(http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/${_realname}-${pkgver}.tar.gz)
-md5sums=('9b64555b7051c1beb6b61daead2d01b3')
-
-build() {
- cd ${srcdir}/${_realname}-${pkgver}
- # install module in vendor directories.
- perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
- make install DESTDIR=${pkgdir} || return 1
-
- # remove perllocal.pod and .packlist
- find ${pkgdir} -name perllocal.pod -delete
- find ${pkgdir} -name .packlist -delete
-}
Copied: perl-date-calc/repos/extra-any/PKGBUILD (from rev 150367, perl-date-calc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-02-17 09:04:07 UTC (rev 150368)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Kevin Piche <kevin at archlinux.org>
+# Contributor: K. Piche <kpiche at rogers.com>
+
+pkgname=perl-date-calc
+_realname=Date-Calc
+pkgver=6.3
+pkgrel=2
+pkgdesc="Perl module for Gregorian calendar date calculations"
+arch=(any)
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl-bit-vector' 'perl>=5.10.0')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/${_realname}-${pkgver}.tar.gz)
+md5sums=('9b64555b7051c1beb6b61daead2d01b3')
+
+build() {
+ cd ${srcdir}/${_realname}-${pkgver}
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd ${srcdir}/${_realname}-${pkgver}
+ make install DESTDIR=${pkgdir}
+}
More information about the arch-commits
mailing list