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

Eric Bélanger eric at nymeria.archlinux.org
Tue Mar 18 09:07:53 UTC 2014


    Date: Tuesday, March 18, 2014 @ 10:07:53
  Author: eric
Revision: 208151

upgpkg: perl-encode-locale 1.03-2

Fix source url, fix build issue (close FS#39492)

Modified:
  perl-encode-locale/trunk/PKGBUILD

----------+
 PKGBUILD |   51 +++++++++++++++------------------------------------
 1 file changed, 15 insertions(+), 36 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-18 08:58:27 UTC (rev 208150)
+++ PKGBUILD	2014-03-18 09:07:53 UTC (rev 208151)
@@ -1,51 +1,30 @@
-# Maintainer : Justin "juster" Davis <jrcd83 at gmail.com>
-# Generator  : pbjam 0.01
 # $Id$
+# Maintainer:
 
 pkgname=perl-encode-locale
 pkgver=1.03
-pkgrel=1
+pkgrel=2
 pkgdesc="Determine the locale encoding"
-arch=(any)
-license=(PerlArtistic GPL)
+arch=('any')
+url="http://search.cpan.org/dist/Encode-Locale"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
 options=('!emptydirs')
-depends=('perl>=5.008')
-makedepends=()
-checkdepends=()
-conflicts=('perl-libwww<6')
-url=http://search.cpan.org/dist/Encode-Locale
-source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-1.02.tar.gz)
-md5sums=('96a950ee9b57e47e2b990b4c5dd7bf6e')
-sha512sums=('7263de267486c835f37dd51da573c5002921a8365124e03eeed1e7a97bac368fff42351d6d31e05d3e596f3486ca5506d985f3992652908948006701d21663cf')
-_distdir="${srcdir}/Encode-Locale-1.02"
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-$pkgver.tar.gz)
+sha1sums=('b37c3dbb98b56d31cc8af35a548096bfbf44820f')
 
 build() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
-      PERL_AUTOINSTALL=--skipdeps                            \
-      PERL_MM_OPT="INSTALLDIRS=vendor"     \
-      PERL_MB_OPT="--installdirs vendor" \
-      MODULEBUILDRC=/dev/null
-
-    cd "$_distdir"
-    /usr/bin/perl Makefile.PL
-    make
-  )
+  cd Encode-Locale-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
 }
 
 check() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
-    make test
-  )
+  cd Encode-Locale-$pkgver
+  make test
 }
 
 package() {
-    cd "$_distdir"
-    make DESTDIR="$pkgdir" install
+  cd Encode-Locale-$pkgver
+  make DESTDIR="$pkgdir" install
 }
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list