PKGBUILDs/extra/lftp/PKGBUILD

26 lines
781 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 53017 2009-09-25 04:52:47Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
pkgname=lftp
pkgver=4.0.2
pkgrel=1
pkgdesc="Sophisticated command line based FTP client"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('gcc-libs' 'readline>=6.0' "gnutls>=2.8.3" "expat>=2.0.1-2" 'sh')
makedepends=('autoconf')
url="http://lftp.yar.ru/"
backup=('etc/lftp.conf')
source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2)
md5sums=('437e657fd6470ef6d23d8a2ff67cc59c')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --with-gnutls \
--without-openssl --disable-static
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm -rf ${pkgdir}/usr/lib
}