[arch-commits] Commit in perl-cwd-guard/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 10:55:59 UTC 2019


    Date: Saturday, May 25, 2019 @ 10:55:59
  Author: foutrelis
Revision: 470290

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 470289, perl-cwd-guard/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: perl-cwd-guard/repos/community-staging-any/PKGBUILD (from rev 470289, perl-cwd-guard/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 10:55:59 UTC (rev 470290)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-cwd-guard
+pkgver=0.05
+pkgrel=5
+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"
+}


More information about the arch-commits mailing list