blob: 6be37f676866bf2edd4286a0e56310c311b75168 (
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
47
48
49
50
51
52
53
54
55
|
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=ncftp
pkgver=3.2.5
pkgrel=6
pkgdesc="A set of free application programs implementing FTP"
url="http://www.ncftp.com/"
arch="all"
license="custom"
depends=
makedepends="ncurses-dev"
install=""
source="ftp://ftp.$pkgname.com/$pkgname/$pkgname-$pkgver-src.tar.bz2
remove-alloca-use.patch"
subpackages="$pkgname-doc $pkgname-bookmarks"
_builddir="$srcdir/$pkgname-$pkgver"
build () {
cd "$_builddir" || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
|| return 1
cd "$_builddir"/libncftp
make shared || return 1
cd "$_builddir" || return 1
make || return 1
}
package() {
cd "$_builddir"/libncftp
make PREFIX="${pkgdir}"/usr soinstall || return 1
cd "$_builddir" || return 1
make DESTDIR="$pkgdir" install || return 1
install -D doc/LICENSE.txt \
"$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE || return 1
}
bookmarks () {
mkdir -p "$subpkgdir"/usr/bin || return 1
mv "$pkgdir"/usr/bin/ncftpbookmarks \
"$subpkgdir"/usr/bin/ || return 1
}
md5sums="b05c7a6d5269c04891f02f43d4312b30 ncftp-3.2.5-src.tar.bz2
d13044a36fbd26473dc60ac8357262f6 remove-alloca-use.patch"
sha256sums="b4ebe2415761a5137cd1d313c8fc1352f26d8963cc9e9e354e29720aa2089d42 ncftp-3.2.5-src.tar.bz2
e2c22fbfe819f726de086098af6aeda9794ec7fabc1e41e65128ba061efceef4 remove-alloca-use.patch"
sha512sums="ebd7f618e5a9ac5e59f3e3dbf9b15765e80404416865212c0b2ee7339aafe2296867faf02fad2084e5a6377796e787d5cfc6599ec3f0e544c6b137734cfdc405 ncftp-3.2.5-src.tar.bz2
6d2256d12b4306f6cddaf47cf38c9cedcd6d37ee2b9c4243de5e661b51d8bc991d632754eef77a778890b0c0458ae59fc9a08f34c6901257bd863695d80c4de0 remove-alloca-use.patch"
|