[arch-commits] Commit in perl-file-pushd/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Jun 1 09:14:56 UTC 2017
Date: Thursday, June 1, 2017 @ 09:14:55
Author: foutrelis
Revision: 232032
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 232031, perl-file-pushd/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: perl-file-pushd/repos/community-staging-any/PKGBUILD (from rev 232031, perl-file-pushd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-06-01 09:14:55 UTC (rev 232032)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer:
+
+pkgname=perl-file-pushd
+pkgver=1.014
+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=('b5ab37ffe3acbec53efb7c77b4423a2c79afa30a48298e751b9ebee3fdc6340b')
+
+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