desktop/lftp/PKGBUILD
2014-10-17 04:51:05 +00:00

34 lines
839 B
Bash

# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
pkgname=lftp
pkgver=4.6.0
pkgrel=1
pkgdesc="Sophisticated command line based FTP client with openssl"
arch=('x86_64')
url="http://lftp.yar.ru/"
license=('GPL3')
depends=('gcc-libs' 'readline' "gnutls>=2.6.8" "expat>=2.0.1" 'perl' 'sh')
makedepends=('autoconf')
categories=('network')
source=(http://lftp.yar.ru/ftp/${pkgname}-${pkgver}.tar.xz{,.asc})
md5sums=('fc5f4e3b45c9011a193eb8c0c12eb2eb'
'SKIP')
backup=('etc/lftp.conf')
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
}