desktop/lftp/PKGBUILD

30 lines
702 B
Bash
Raw Normal View History

2011-02-22 06:53:43 +08:00
pkgname=lftp
2015-08-21 22:25:06 +08:00
pkgver=4.6.4
2011-02-22 06:53:43 +08:00
pkgrel=1
pkgdesc="Sophisticated command line based FTP client with openssl"
2013-02-02 01:26:40 +08:00
arch=('x86_64')
2011-02-22 06:53:43 +08:00
url="http://lftp.yar.ru/"
license=('GPL3')
2011-04-30 04:21:10 +08:00
depends=('gcc-libs' 'readline' "gnutls>=2.6.8" "expat>=2.0.1" 'perl' 'sh')
2011-03-08 07:04:02 +08:00
makedepends=('autoconf')
categories=('network')
2015-08-21 22:25:06 +08:00
source=(http://lftp.yar.ru/ftp/${pkgname}-${pkgver}.tar.xz)
2014-04-13 21:39:14 +08:00
backup=('etc/lftp.conf')
2015-08-21 22:25:06 +08:00
md5sums=('84987c1095df84bfb5ac9c95c6aba6be')
2011-02-22 06:53:43 +08:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
2013-02-28 05:05:40 +08:00
./configure --prefix=/usr \
--with-gnutls \
--without-openssl \
2014-06-03 07:36:42 +08:00
--without-included-regex \
2013-02-28 05:05:40 +08:00
--disable-static
2011-03-08 07:04:02 +08:00
make
2011-02-22 06:53:43 +08:00
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/lib
2011-03-08 07:04:02 +08:00
}