summaryrefslogtreecommitdiff
path: root/community/tnftp/PKGBUILD
blob: cbf5d0f09c65d25ce176aae871f6c395be0149bd (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
# $Id: PKGBUILD 102893 2013-12-23 14:32:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Previous Contributor: Baptiste Daroussin <baptiste.daroussin@gmail.com>

pkgname=tnftp
pkgver=20130505
pkgrel=2
pkgdesc="NetBSD FTP client with several advanced features"
arch=('i686' 'x86_64')
url="ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/"
license=('BSD')
depends=('ncurses' 'dante' 'openssl')
source=(ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/$pkgname-$pkgver.tar.gz)
md5sums=('66e218d02ec7d9fc39ab70ba2900305a')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --enable-editcomplete --enable-ssl
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make install DESTDIR=$pkgdir
  install -Dm755 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}