blob: 29ae619755ced5d57eb513bfd1c18ce166bc6868 (
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
|
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=ncftp
pkgver=3.2.3
pkgrel=1
pkgdesc="A set of free application programs implementing FTP"
url="http://www.ncftp.com/"
license="custom"
depends=
makedepends="ncurses-dev"
install="$pkgname.post-install"
source="ftp://ftp.$pkgname.com/$pkgname/$pkgname-$pkgver-src.tar.bz2"
subpackages="$pkgname-doc $pkgname-bookmarks"
build () {
cd "${srcdir}/${pkgname}-${pkgver}" || return 1
install -d "${pkgdir}"/usr/share | return 1
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man || return 1
cd "${srcdir}/${pkgname}-${pkgver}"/libncftp
make shared || return 1
make PREFIX="${pkgdir}"/usr soinstall || return 1
cd "${srcdir}/${pkgname}-${pkgver}" || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
install -D doc/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE || return 1
}
bookmarks () {
install=""
mkdir -p "$subpkgdir"/usr/bin || return 1
mv "$pkgdir"/usr/bin/ncftpbookmarks "$subpkgdir"/usr/bin/ || return 1
}
md5sums="fac4aa169e1734e8d9617afd4a9b51e5 ncftp-3.2.3-src.tar.bz2"
|