summaryrefslogtreecommitdiff
path: root/community/tnftp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/tnftp/PKGBUILD')
-rw-r--r--community/tnftp/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/tnftp/PKGBUILD b/community/tnftp/PKGBUILD
new file mode 100644
index 000000000..25fcc9256
--- /dev/null
+++ b/community/tnftp/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 91426 2013-05-22 10:27:16Z 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=1
+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
+}