diff --git a/perl-net-ftpssl/.SRCINFO b/perl-net-ftpssl/.SRCINFO index 1ef3af1..94e8db1 100644 --- a/perl-net-ftpssl/.SRCINFO +++ b/perl-net-ftpssl/.SRCINFO @@ -1,11 +1,11 @@ pkgbase = perl-net-ftpssl - pkgdesc = NET::FTPSSL perl module. + pkgdesc = NET::FTPSSL perl module pkgver = 0.42 pkgrel = 1 url = https://metacpan.org/release/Net-FTPSSL arch = any - license = GPL - license = PerlArtistic + license = GPL-1.0-or-later + license = Artistic-1.0 depends = perl depends = perl-net-ssleay depends = perl-io-socket-ssl diff --git a/perl-net-ftpssl/PKGBUILD b/perl-net-ftpssl/PKGBUILD index 729a458..57bcb34 100644 --- a/perl-net-ftpssl/PKGBUILD +++ b/perl-net-ftpssl/PKGBUILD @@ -1,20 +1,20 @@ # Maintainer: Giovanni Harting <539@idlegandalf.com> pkgname=perl-net-ftpssl +_dist=Net-FTPSSL pkgver=0.42 pkgrel=1 -pkgdesc="NET::FTPSSL perl module." -_dist=Net-FTPSSL +pkgdesc='NET::FTPSSL perl module' arch=(any) url="https://metacpan.org/release/$_dist" -license=(GPL PerlArtistic) +license=(GPL-1.0-or-later Artistic-1.0) depends=(perl perl-net-ssleay perl-io-socket-ssl) options=(!emptydirs purge) source=("http://search.cpan.org/CPAN/authors/id/C/CL/CLEACH/$_dist-$pkgver.tar.gz") b2sums=('266b9502576b9054dd330182f636da62af54436f7d4844fecfc15840b66ec07215d29c02f70c745a70867bbd74b0aa28862a989c32f52be78ceb56aa86605f0a') build() { - cd "$srcdir/$_dist-$pkgver" + cd $_dist-$pkgver unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps /usr/bin/perl Makefile.PL @@ -22,14 +22,14 @@ build() { } check() { - cd "$srcdir/$_dist-$pkgver" + cd $_dist-$pkgver unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT export PERL_MM_USE_DEFAULT=1 make test } package() { - cd "$srcdir/$_dist-$pkgver" + cd $_dist-$pkgver unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT make install INSTALLDIRS=vendor DESTDIR="$pkgdir" }