# $Id: PKGBUILD 39863 2009-05-21 17:48:05Z andyrtr $ # Maintainer: Andreas Radke # Contributor: Aaron Griffin pkgname=lftp pkgver=3.7.14 pkgrel=2 pkgdesc="Sophisticated command line based FTP client" arch=('i686' 'x86_64') license=('GPL3') depends=('gcc-libs' 'readline>=6.0' "gnutls>=2.6.6" "expat>=2.0.1-2" 'perl') url="http://lftp.yar.ru/" backup=('etc/lftp.conf') source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2 gnutls-pkgconfig.patch) md5sums=('723d372833d6a94c15cc78cc98565517' 'ddb61c09afb4bb38ecaff5a447da9e1f') build() { cd ${srcdir}/${pkgname}-${pkgver} patch < ../gnutls-pkgconfig.patch || return 1 aclocal -I m4 || return 1 autoconf || return 1 ./configure --prefix=/usr --with-gnutls \ --without-openssl --disable-static make || return 1 make DESTDIR=${pkgdir} install || return 1 rm -rf ${pkgdir}/usr/lib }