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

Justin Davis juster at archlinux.org
Tue Feb 21 14:28:44 EST 2012


    Date: Tuesday, February 21, 2012 @ 14:28:44
  Author: juster
Revision: 150744

Bump version to 6.02.

Modified:
  perl-lwp-mediatypes/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++--------------------
 1 file changed, 17 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-21 19:20:47 UTC (rev 150743)
+++ PKGBUILD	2012-02-21 19:28:44 UTC (rev 150744)
@@ -1,26 +1,24 @@
-# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
-# Generator  : pbjam 0.01
+# Packager: Justin "juster" Davis <jrcd83 at gmail.com>
 # $Id$
 
 pkgname=perl-lwp-mediatypes
-pkgver=6.01
+pkgver=6.02
 pkgrel=1
 pkgdesc="guess media type for a file or a URL"
 arch=(any)
 license=(PerlArtistic GPL)
-options=('!emptydirs')
-depends=('perl>=5.8.8')
-makedepends=()
-checkdepends=()
+options=(!emptydirs)
+depends=('perl>=5.6.2')
 conflicts=('perl-libwww<6')
-url=http://search.cpan.org/dist/LWP-MediaTypes
-source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/LWP-MediaTypes-6.01.tar.gz)
-md5sums=(3cd1ccb774867b5b20e672981b230db6)
-sha512sums=(cc1b375f2b7c889b91ce4296340fc67395ddfbede7251c431c884050d1633262668d095c24c078d4bf50a85465c2e0edf60cdd5640a18686b3691f77090f0d5b)
-_distdir="${srcdir}/LWP-MediaTypes-6.01"
+url=https://metacpan.org/release/LWP-MediaTypes
+source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/LWP-MediaTypes-${pkgver}.tar.gz")
+md5sums=(8c5f25fb64b974d22aff424476ba13c9)
+sha512sums=(b2ad33fb2c6dd7afaa9b8dd2ed6a15b2ecc35d13bcdf5297ce1632ea77406def0840a24c5213187707b665f28cc9bbea5774bfd1a4070d1f6192e904f707b94e)
+_distdir="${srcdir}/LWP-MediaTypes-${pkgver}"
 
-build() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
+build()
+(
+    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
       PERL_AUTOINSTALL=--skipdeps                            \
       PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
       PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
@@ -29,15 +27,14 @@
     cd "$_distdir"
     /usr/bin/perl Makefile.PL
     make
-  )
-}
+)
 
-check() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+check()
+(
+    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
     cd "$_distdir"
     make test
-  )
-}
+)
 
 package() {
     cd "$_distdir"



More information about the arch-commits mailing list