# Contributor: Valery Kartel # Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=lftp pkgver=4.7.5 pkgrel=0 pkgdesc="LFTP is sophisticated ftp/http client" url="http://lftp.tech/" arch="all" license="GPL" makedepends="zlib-dev libressl-dev readline-dev ncurses-dev" subpackages="$pkgname-doc" source="http://lftp.yar.ru/ftp/$pkgname-$pkgver.tar.xz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --with-openssl \ --with-modules \ --disable-nls \ --disable-static \ || return 1 make || return 1 } package() { cd "$builddir" make -j1 install \ DESTDIR="$pkgdir" \ || return 1 rm -f "$pkgdir"/usr/lib/charset.alias \ || return 1 mkdir -p "$pkgdir"/usr/share/doc/$pkgname \ || return 1 mv "$pkgdir"/usr/share/$pkgname "$pkgdir"/usr/share/doc/ \ || return 1 } sha512sums="e7d478367a3b79f61686a538827efe8afb807a587d2967189ae351927e3acb0d5b097d8707e0cb3997aa650f8f0787aa44038bb1d081e393bc7202b348249960 lftp-4.7.5.tar.xz"