aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-05-03 03:19:31 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-05-03 08:12:38 +0000
commit0680d792556d51758e961537a5abff86cff54524 (patch)
treed3d118b552a538761b4ea272fe4da9a66d8d7633 /main
parent59d88f01aaf52f0c0f1dad653d8725a041ba8bf8 (diff)
downloadaports-0680d792556d51758e961537a5abff86cff54524.tar.bz2
aports-0680d792556d51758e961537a5abff86cff54524.tar.xz
main/perl-net-openssh: upgrade to 0.79
Diffstat (limited to 'main')
-rw-r--r--main/perl-net-openssh/APKBUILD27
1 files changed, 12 insertions, 15 deletions
diff --git a/main/perl-net-openssh/APKBUILD b/main/perl-net-openssh/APKBUILD
index 284e671f93..ee1987a3f8 100644
--- a/main/perl-net-openssh/APKBUILD
+++ b/main/perl-net-openssh/APKBUILD
@@ -3,38 +3,35 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-net-openssh
_pkgreal=Net-OpenSSH
-pkgver=0.78
+pkgver=0.79
pkgrel=0
pkgdesc="Perl SSH client package implemented on top of OpenSSH"
-url="https://search.cpan.org/dist/Net-OpenSSH/"
+url="https://metacpan.org/release/Net-OpenSSH"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=" "
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://search.cpan.org/CPAN/authors/id/S/SA/SALVA/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/S/SA/SALVA/Net-OpenSSH-$pkgver.tar.gz"
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ default_prepare
+
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
# make test is interactive
}
package() {
- cd "$_builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="5130b9fa0963955397c2fcbf2c317f42bb3a8c181e2d2a73d58b901ff9a9bfb477322fd6b80134f1e67c4c6f661978ffb214317686ab6d8e38a13558d9156307 Net-OpenSSH-0.78.tar.gz"
+sha512sums="385e4ef8b1e8e503ff097a68211af3e0258649710ac292e8dee5b752b263dd7546c23d5d60e9926acc129e33ca36cf2ad47ef0ab41faf8acc155e392a268856f Net-OpenSSH-0.79.tar.gz"