blob: 0ac370040fff050f195d175ca4a2029ea8c6906b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer (AUR): "Jameson Pugh <imntreal@gmail.com>"
# Contributor (AUR): Alessandro Sagratini <ale_sagra at hotmail dot com>
# Contributor: Márcio Silva <coadde@hyperbola.info>
# parabola changes and rationale:
# no changes.
pkgname=perl-net-sftp-foreign
pkgver=1.87
pkgrel=1
pkgdesc="Perl SFTP client using the native SSH client application"
arch=('any')
url='http://search.cpan.org/~salva/Net-SFTP-Foreign'
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
optdepends=('perl-file-which' 'perl-sort-key')
options=('!emptydirs')
changelog=Changes
source=("http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Net-SFTP-Foreign-${pkgver}.tar.gz")
sha256sums=('cd175f8dee7efcadf17675b7d4ae8d8ad59d329862171f458d88bf6fc4f5c5ec')
build() {
cd "${srcdir}/Net-SFTP-Foreign-${pkgver}"
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "${srcdir}/Net-SFTP-Foreign-${pkgver}"
make install DESTDIR=${pkgdir} || return 1
# remove perllocal.pod and .packlist
find "${pkgdir}" -name perllocal.pod -delete
find "${pkgdir}" -name .packlist -delete
}
# vim:set ts=2 sw=2 et:
|