rebuild lftp against new gnutls

This commit is contained in:
Weng Xuetian 2015-11-19 00:20:18 +01:00
parent fa6f24c1e9
commit d169f29a8c

View File

@ -1,19 +1,21 @@
pkgname=lftp
pkgver=4.6.4
pkgrel=1
pkgdesc="Sophisticated command line based FTP client with openssl"
pkgrel=2
pkgdesc="Sophisticated command line based FTP client"
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')
depends=('gcc-libs' 'readline' "gnutls>=2.6.8" "expat>=2.0.1" 'sh')
optdepends=('perl: needed for convert-netscape-cookies and verify-file')
categories=('network')
source=(http://lftp.yar.ru/ftp/${pkgname}-${pkgver}.tar.xz)
backup=('etc/lftp.conf')
md5sums=('84987c1095df84bfb5ac9c95c6aba6be')
source=(http://lftp.yar.ru/ftp/${pkgname}-${pkgver}.tar.xz{,.asc})
md5sums=('84987c1095df84bfb5ac9c95c6aba6be'
'SKIP')
validpgpkeys=('C027FA3148652A5513036413A824BB69F2A99A18') # "Alexander V. Lukyanov <lav@yars.free.net>"
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-gnutls \
--without-openssl \
@ -23,7 +25,7 @@ build() {
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/lib
}