[arch-commits] Commit in perl-file-pushd/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 08:32:17 UTC 2021
Date: Monday, May 24, 2021 @ 08:32:16
Author: foutrelis
Revision: 943928
archrelease: copy trunk to community-staging-any
Added:
perl-file-pushd/repos/community-staging-any/
perl-file-pushd/repos/community-staging-any/PKGBUILD
(from rev 943927, perl-file-pushd/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-file-pushd/repos/community-staging-any/PKGBUILD (from rev 943927, perl-file-pushd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 08:32:16 UTC (rev 943928)
@@ -0,0 +1,30 @@
+# Maintainer:
+
+pkgname=perl-file-pushd
+pkgver=1.016
+pkgrel=4
+pkgdesc="Change directory temporarily for a limited scope"
+arch=('any')
+url="https://metacpan.org/release/File-pushd"
+license=('Apache')
+depends=('perl')
+makedepends=('perl-extutils-makemaker')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/File-pushd-${pkgver}.tar.gz")
+sha256sums=('d73a7f09442983b098260df3df7a832a5f660773a313ca273fa8b56665f97cdc')
+
+build() {
+ cd File-pushd-${pkgver}
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd File-pushd-${pkgver}
+ make test
+}
+
+package() {
+ cd File-pushd-${pkgver}
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list