PKGBUILDs/extra/ncftp/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
861 B
Bash

# $Id: PKGBUILD 49261 2009-08-05 12:11:18Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Paul Mattal <paul@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=ncftp
pkgver=3.2.3
pkgrel=1
pkgdesc="A set of free application programs implementing FTP"
url="http://www.ncftp.com/"
arch=('i686' 'x86_64')
license=('custom')
depends=('ncurses')
source=(ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.bz2)
md5sums=('fac4aa169e1734e8d9617afd4a9b51e5')
build() {
cd ${srcdir}/${pkgname}-${pkgver} || return 1
install -d ${pkgdir}/usr/share
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install || return 1
# Install license
install -D doc/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
}