desktop/lftp/PKGBUILD

32 lines
841 B
Bash
Raw Normal View History

2011-02-22 06:53:43 +08:00
pkgname=lftp
2016-11-17 06:44:49 +08:00
pkgver=4.7.4
2015-12-14 14:07:41 +08:00
pkgrel=1
2015-11-19 07:20:18 +08:00
pkgdesc="Sophisticated command line based FTP client"
2013-02-02 01:26:40 +08:00
arch=('x86_64')
2016-11-17 06:44:49 +08:00
url="https://lftp.tech/"
2011-02-22 06:53:43 +08:00
license=('GPL3')
2015-11-19 07:20:18 +08:00
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')
2014-04-13 21:39:14 +08:00
backup=('etc/lftp.conf')
2015-11-19 07:20:18 +08:00
source=(http://lftp.yar.ru/ftp/${pkgname}-${pkgver}.tar.xz{,.asc})
2016-11-17 06:44:49 +08:00
md5sums=('74965c798b1806d0a2659d8a606ea47f'
2015-11-19 07:20:18 +08:00
'SKIP')
validpgpkeys=('C027FA3148652A5513036413A824BB69F2A99A18') # "Alexander V. Lukyanov <lav@yars.free.net>"
2011-02-22 06:53:43 +08:00
build() {
2015-11-19 07:20:18 +08:00
cd ${pkgname}-${pkgver}
2013-02-28 05:05:40 +08:00
./configure --prefix=/usr \
2015-11-19 07:20:18 +08:00
--with-gnutls \
--without-openssl \
--without-included-regex \
--disable-static
2011-03-08 07:04:02 +08:00
make
2011-02-22 06:53:43 +08:00
}
package() {
2015-11-19 07:20:18 +08:00
cd ${pkgname}-${pkgver}
2011-02-22 06:53:43 +08:00
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/lib
2011-03-08 07:04:02 +08:00
}