blob: 284cf95d6f6e514eeece94878b9282efdcd707e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=lftp
pkgver=4.7.7
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="25bcb5469a6202be500a350078f604a56e68958210fbed72c59b2c4847fb6b2680335bf668a512055d1e1db84069e13ba5c169a6ca2fefdf77ef6416df261ab7 lftp-4.7.7.tar.xz"
|