[arch-commits] Commit in perl-net-openssh/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 16:06:53 UTC 2020


    Date: Sunday, June 21, 2020 @ 16:06:50
  Author: felixonmars
Revision: 649609

archrelease: copy trunk to community-staging-any

Added:
  perl-net-openssh/repos/community-staging-any/
  perl-net-openssh/repos/community-staging-any/PKGBUILD
    (from rev 649606, perl-net-openssh/trunk/PKGBUILD)

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

Copied: perl-net-openssh/repos/community-staging-any/PKGBUILD (from rev 649606, perl-net-openssh/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 16:06:50 UTC (rev 649609)
@@ -0,0 +1,45 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-net-openssh
+pkgver=0.78
+pkgrel=3
+pkgdesc='Perl SSH client package implemented on top of OpenSSH'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=(perl)
+url=https://metacpan.org/release/Net-OpenSSH
+source=("https://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Net-OpenSSH-$pkgver.tar.gz")
+md5sums=(7289656f3abf30a7d5e39a748ca40fad)
+sha512sums=(5130b9fa0963955397c2fcbf2c317f42bb3a8c181e2d2a73d58b901ff9a9bfb477322fd6b80134f1e67c4c6f661978ffb214317686ab6d8e38a13558d9156307)
+_ddir="Net-OpenSSH-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list