Date: Saturday, August 26, 2017 @ 17:41:28 Author: felixonmars Revision: 254220
archrelease: copy trunk to community-staging-any Added: perl-cwd-guard/repos/community-staging-any/ perl-cwd-guard/repos/community-staging-any/PKGBUILD (from rev 254217, perl-cwd-guard/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: perl-cwd-guard/repos/community-staging-any/PKGBUILD (from rev 254217, perl-cwd-guard/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2017-08-26 17:41:28 UTC (rev 254220) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-cwd-guard +pkgver=0.05 +pkgrel=3 +pkgdesc="Temporary changing working directory (chdir)" +arch=('any') +url="http://search.cpan.org/dist/Cwd-Guard/" +license=('GPL' 'PerlArtistic') +depends=('perl') +makedepends=('perl-module-build') +checkdepends=('perl-test-requires') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/K/KA/KAZEBURO/Cwd-Guard-$pkgver.tar.gz") +md5sums=('3d9c31722ab475fcb095716fe80c6bb1') + +build() { + cd "$srcdir/Cwd-Guard-$pkgver" + perl Build.PL installdirs=vendor + ./Build +} + +check() { + cd "$srcdir/Cwd-Guard-$pkgver" + ./Build test +} + +package() { + cd "$srcdir/Cwd-Guard-$pkgver" + ./Build install destdir="$pkgdir" +}