[arch-commits] Commit in ncftp/repos (6 files)

Allan McRae allan at archlinux.org
Thu Sep 10 03:51:00 UTC 2015


    Date: Thursday, September 10, 2015 @ 05:50:59
  Author: allan
Revision: 245661

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  ncftp/repos/staging-i686/
  ncftp/repos/staging-i686/PKGBUILD
    (from rev 245660, ncftp/trunk/PKGBUILD)
  ncftp/repos/staging-i686/fix-build.patch
    (from rev 245660, ncftp/trunk/fix-build.patch)
  ncftp/repos/staging-x86_64/
  ncftp/repos/staging-x86_64/PKGBUILD
    (from rev 245660, ncftp/trunk/PKGBUILD)
  ncftp/repos/staging-x86_64/fix-build.patch
    (from rev 245660, ncftp/trunk/fix-build.patch)

--------------------------------+
 staging-i686/PKGBUILD          |   44 +++++++++++++++++++++++++++++++++++++++
 staging-i686/fix-build.patch   |   10 ++++++++
 staging-x86_64/PKGBUILD        |   44 +++++++++++++++++++++++++++++++++++++++
 staging-x86_64/fix-build.patch |   10 ++++++++
 4 files changed, 108 insertions(+)

Copied: ncftp/repos/staging-i686/PKGBUILD (from rev 245660, ncftp/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-10 03:50:59 UTC (rev 245661)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Paul Mattal <paul at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ncftp
+pkgver=3.2.5
+pkgrel=6
+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"
+}

Copied: ncftp/repos/staging-i686/fix-build.patch (from rev 245660, ncftp/trunk/fix-build.patch)
===================================================================
--- staging-i686/fix-build.patch	                        (rev 0)
+++ staging-i686/fix-build.patch	2015-09-10 03:50:59 UTC (rev 245661)
@@ -0,0 +1,10 @@
+--- ncftp-3.2.5/ncftp/main.c~	2014-03-06 11:20:05.006777392 +0000
++++ ncftp-3.2.5/ncftp/main.c	2014-03-06 11:20:25.739974714 +0000
+@@ -21,6 +21,7 @@
+ #include "log.h"
+ #include "spool.h"
+ #include "util.h"
++#include "locale.h"
+ 
+ int gStartupUrlParameterGiven = 0;
+ int gIsTTY, gIsTTYr;

Copied: ncftp/repos/staging-x86_64/PKGBUILD (from rev 245660, ncftp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-10 03:50:59 UTC (rev 245661)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Paul Mattal <paul at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ncftp
+pkgver=3.2.5
+pkgrel=6
+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"
+}

Copied: ncftp/repos/staging-x86_64/fix-build.patch (from rev 245660, ncftp/trunk/fix-build.patch)
===================================================================
--- staging-x86_64/fix-build.patch	                        (rev 0)
+++ staging-x86_64/fix-build.patch	2015-09-10 03:50:59 UTC (rev 245661)
@@ -0,0 +1,10 @@
+--- ncftp-3.2.5/ncftp/main.c~	2014-03-06 11:20:05.006777392 +0000
++++ ncftp-3.2.5/ncftp/main.c	2014-03-06 11:20:25.739974714 +0000
+@@ -21,6 +21,7 @@
+ #include "log.h"
+ #include "spool.h"
+ #include "util.h"
++#include "locale.h"
+ 
+ int gStartupUrlParameterGiven = 0;
+ int gIsTTY, gIsTTYr;



More information about the arch-commits mailing list