1 # Maintainer: Damien Guihal <dguihal@gmail.com>
5 pkgdesc="Secure File Transfer Protocol client"
6 url="http://search.cpan.org/~dbrobins/Net-SFTP/"
9 license="Artistic License"
11 source=(http://search.cpan.org/CPAN/authors/id/D/DB/DBROBINS/Net-SFTP-$pkgver.tar.gz)
12 sha256sums=('00cd1169cc50151926af96cad61f070c52d7236dd6bd996b7cc63952fb0a7de5')
15 cd $startdir/src/Net-SFTP-$pkgver
16 eval `perl -V:archname`
17 # Force module installation to "current" perl directories.
18 /usr/bin/perl Makefile.PL \
19 INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
20 INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
21 INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
22 /usr/bin/make || return 1
23 /usr/bin/make DESTDIR=$startdir/pkg install
24 # remove *.pod, .packlist:
25 /usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \;
26 /usr/bin/find $startdir/pkg -name '*.pod' -exec rm '{}' \;