# $Id: PKGBUILD 212115 2014-05-07 17:52:16Z andyrtr $ # Maintainer: Andreas Radke # Contributor: Aaron Griffin pkgname=lftp pkgver=4.4.16 pkgrel=1 pkgdesc="Sophisticated command line based FTP client" arch=('i686' 'x86_64') license=('GPL3') depends=('gcc-libs' 'readline' 'gnutls' 'expat' 'sh') optdepends=('perl: needed for convert-netscape-cookies and verify-file') url="http://lftp.yar.ru/" backup=('etc/lftp.conf') source=(http://lftp.yar.ru/ftp/${pkgname}-${pkgver}.tar.xz{,.asc}) md5sums=('73e9084731e4ba9bd886a86fdccec519' 'SKIP') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --with-gnutls \ --without-openssl \ --without-included-regex \ --disable-static make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install rm -rf ${pkgdir}/usr/lib }