[arch-commits] Commit in perl-file-path-tiny/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Tue May 21 11:33:35 EDT 2013


    Date: Tuesday, May 21, 2013 @ 17:33:34
  Author: eric
Revision: 91388

upgpkg: perl-file-path-tiny 0.5-1

Upstream update

Modified:
  perl-file-path-tiny/trunk/PKGBUILD

----------+
 PKGBUILD |   54 +++++++++++++++++++-----------------------------------
 1 file changed, 19 insertions(+), 35 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-21 15:25:18 UTC (rev 91387)
+++ PKGBUILD	2013-05-21 15:33:34 UTC (rev 91388)
@@ -1,46 +1,30 @@
-# Maintainer: Justin Davis (juster) <jrcd83 at gmail.com>
 # $Id$
+# Maintainer:
 
 pkgname=perl-file-path-tiny
-pkgver=0.3
+pkgver=0.5
 pkgrel=1
 pkgdesc='recursive versions of mkdir() and rmdir() without as much overhead as File::Path'
-arch=(any)
-license=(PerlArtistic GPL)
-options=(!emptydirs)
-depends=(perl)
-url=https://metacpan.org/release/File-Path-Tiny
+arch=('any')
+url="https://metacpan.org/release/File-Path-Tiny"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
 source=("http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/File-Path-Tiny-$pkgver.tar.gz")
-md5sums=(46a1687953b02a0456f5a0ed65d1a396)
-sha512sums=(1121c0ab5080fdbbd383ee5a9ad5d8c437a52cad09041c1f084195236d4c71407e29b07bb67f1eac8528cd4b27e6626d7e7477761c1ddb1ed6fe39ca6aeb43cc)
-_dir="$srcdir/File-Path-Tiny-$pkgver"
+sha1sums=('cc39f65c3c84f476f8ae8549d7c59b01dfbf1179')
 
-build()
-(
-  cd "$_dir"
-  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
-  unset PERL5LIB PERL_MM_OPT
-  /usr/bin/perl Makefile.PL
+build() {
+  cd File-Path-Tiny-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
   make
-)
+}
 
-check()
-(
-  cd "$_dir"
-  export PERL_MM_USE_DEFAULT=1
-  unset PERL5LIB
+check() {
+  cd File-Path-Tiny-$pkgver
   make test
-)
+}
 
-package()
-(
-  cd "$_dir"
-  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
-  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-)
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:
+package() {
+  cd File-Path-Tiny-$pkgver
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list