Date: Tuesday, May 21, 2013 @ 17:33:51 Author: eric Revision: 91389 archrelease: copy trunk to community-any
Added: perl-file-path-tiny/repos/community-any/PKGBUILD (from rev 91388, perl-file-path-tiny/trunk/PKGBUILD) Deleted: perl-file-path-tiny/repos/community-any/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++------------------------------------- 1 file changed, 30 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-05-21 15:33:34 UTC (rev 91388) +++ PKGBUILD 2013-05-21 15:33:51 UTC (rev 91389) @@ -1,46 +0,0 @@ -# Maintainer: Justin Davis (juster) <jrc...@gmail.com> -# $Id$ - -pkgname=perl-file-path-tiny -pkgver=0.3 -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 -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" - -build() -( - cd "$_dir" - export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps - unset PERL5LIB PERL_MM_OPT - /usr/bin/perl Makefile.PL - make -) - -check() -( - cd "$_dir" - export PERL_MM_USE_DEFAULT=1 - unset PERL5LIB - 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: Copied: perl-file-path-tiny/repos/community-any/PKGBUILD (from rev 91388, perl-file-path-tiny/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-05-21 15:33:51 UTC (rev 91389) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: + +pkgname=perl-file-path-tiny +pkgver=0.5 +pkgrel=1 +pkgdesc='recursive versions of mkdir() and rmdir() without as much overhead as File::Path' +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") +sha1sums=('cc39f65c3c84f476f8ae8549d7c59b01dfbf1179') + +build() { + cd File-Path-Tiny-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd File-Path-Tiny-$pkgver + make test +} + +package() { + cd File-Path-Tiny-$pkgver + make install DESTDIR="$pkgdir" +}