[arch-commits] Commit in perl-file-pushd/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 10:31:54 UTC 2020
Date: Sunday, June 21, 2020 @ 10:31:53
Author: felixonmars
Revision: 648991
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 648990, perl-file-pushd/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-file-pushd/repos/community-staging-any/PKGBUILD (from rev 648990, perl-file-pushd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 10:31:53 UTC (rev 648991)
@@ -0,0 +1,30 @@
+# Maintainer:
+
+pkgname=perl-file-pushd
+pkgver=1.016
+pkgrel=3
+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