# $Id: PKGBUILD 177576 2013-02-07 16:27:21Z andyrtr $ # Maintainer: Andreas Radke # Contributor: Aaron Griffin pkgname=lftp pkgver=4.4.3 pkgrel=1 pkgdesc="Sophisticated command line based FTP client" arch=('i686' 'x86_64') license=('GPL3') depends=('gcc-libs' 'readline>=6.2' "gnutls" "expat>=2.0.1-4" 'sh') optdepends=('perl: needed for convert-netscape-cookies and verify-file') url="http://lftp.yar.ru/" backup=('etc/lftp.conf') source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2) md5sums=('59351bc6fd71e65485cb0b5dd6dbf07a') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr \ --with-gnutls \ --without-openssl \ --without-included-regex \ --disable-static make } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install rm -rf ${pkgdir}/usr/lib }