[arch-commits] Commit in perl-yaml/trunk (PKGBUILD)

Rémy Oudompheng remy at archlinux.org
Thu Jul 14 11:15:06 EDT 2011


    Date: Thursday, July 14, 2011 @ 11:15:06
  Author: remy
Revision: 131755

upgpkg: perl-yaml 0.73-1
Version bump.

Modified:
  perl-yaml/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-14 12:40:19 UTC (rev 131754)
+++ PKGBUILD	2011-07-14 15:15:06 UTC (rev 131755)
@@ -4,7 +4,7 @@
 
 pkgname=perl-yaml
 _realname=YAML
-pkgver=0.71
+pkgver=0.73
 pkgrel=1
 pkgdesc="Perl/CPAN Module YAML : YAML Aint Markup Language tm"
 arch=(any)
@@ -12,19 +12,24 @@
 license=('GPL' 'PerlArtistic')
 depends=('perl>=5.10.0')
 options=(!emptydirs)
-source=(http://www.cpan.org/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz)
-md5sums=('d0f7cf232dd43c28c0e3767d672d6887')
+source=(http://www.cpan.org/authors/id/I/IN/INGY/${_realname}-${pkgver}.tar.gz)
+md5sums=('ef10641e699df5869da9ae006ad78719')
 
 build() {
   cd ${srcdir}/${_realname}-${pkgver}
 
   # install module in vendor directories.
   #PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
-  perl Makefile.PL INSTALLDIRS=vendor || return 1
-  make  || return 1
-  make install DESTDIR=${pkgdir} || return 1
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
 
-  # remove perllocal.pod and .packlist
-  find ${pkgdir} -name perllocal.pod -delete
-  find ${pkgdir} -name .packlist -delete
+check() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  make test
 }
+
+package() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  make install DESTDIR=${pkgdir}
+}



More information about the arch-commits mailing list