blob: 981d6872004fb3896041008802790aedbf383cae (
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
|
# $Id: PKGBUILD 207130 2014-03-07 09:21:28Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Paul Mattal <paul@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=ncftp
pkgver=3.2.5
pkgrel=4
pkgdesc="A set of free application programs implementing FTP"
url="http://www.ncftp.com/"
arch=('i686' 'x86_64')
license=('custom')
depends=('ncurses')
makedepends=('inetutils')
source=("ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.bz2"
'fix-build.patch')
md5sums=('b05c7a6d5269c04891f02f43d4312b30'
'f85fd4cc66b66952d67f864137f44029')
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/fix-build.patch
}
build() {
# FS#39211
unset CPPFLAGS
cd ${pkgname}-${pkgver}
CPP=/usr/bin/cpp ./configure --prefix=/usr \
--sysconfdir=/etc
make
}
package() {
cd ${pkgname}-${pkgver}
install -d "${pkgdir}/usr/share"
make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install
# Install license
install -Dm644 doc/LICENSE.txt \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|