[arch-commits] Commit in perl-file-pushd/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 09:10:48 UTC 2019
Date: Saturday, May 25, 2019 @ 09:10:48
Author: felixonmars
Revision: 470036
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 470034, perl-file-pushd/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-file-pushd/repos/community-staging-any/PKGBUILD (from rev 470034, perl-file-pushd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 09:10:48 UTC (rev 470036)
@@ -0,0 +1,30 @@
+# Maintainer:
+
+pkgname=perl-file-pushd
+pkgver=1.016
+pkgrel=2
+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=("http://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