Files
aur-packages/perl-net-ftpssl/PKGBUILD
Giovanni Harting f78662add0 Add 'perl-net-ftpssl/' from commit 'c9e7c28c9030de5ac671e92cd7f3558f8971e133'
git-subtree-dir: perl-net-ftpssl
git-subtree-mainline: d06c3aa398
git-subtree-split: c9e7c28c90
2019-09-06 12:52:39 +02:00

37 lines
955 B
Bash

# Maintainer: Giovanni Harting <539 at idlegandalf dot com>
pkgname=perl-net-ftpssl
pkgver=0.41
pkgrel=1
pkgdesc='NET::FTPSSL perl module.'
_dist=Net-FTPSSL
arch=('any')
url="https://metacpan.org/release/$_dist"
license=('GPL' 'PerlArtistic')
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")
sha256sums=('da63355269c04428f3e810a6fdeecd8884180431fd02692a7cfbcbbc62d2a5c7')
build() {
cd "$srcdir/$_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
make
}
check() {
cd "$srcdir/$_dist-$pkgver"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
make test
}
package() {
cd "$srcdir/$_dist-$pkgver"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
}