[arch-commits] Commit in ncftp/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 20:50:16 UTC 2020


    Date: Saturday, May 16, 2020 @ 20:50:14
  Author: felixonmars
Revision: 384828

archrelease: copy trunk to staging-x86_64

Added:
  ncftp/repos/staging-x86_64/
  ncftp/repos/staging-x86_64/PKGBUILD
    (from rev 384827, ncftp/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: ncftp/repos/staging-x86_64/PKGBUILD (from rev 384827, ncftp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 20:50:14 UTC (rev 384828)
@@ -0,0 +1,36 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# 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.6
+pkgrel=3
+pkgdesc="A set of free application programs implementing FTP"
+url="https://www.ncftp.com/"
+arch=('x86_64')
+license=('custom')
+depends=('ncurses')
+makedepends=('inetutils')
+source=("ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.xz")
+md5sums=('42d0f896d69a4d603ec097546444245f')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
+  # FS#39211
+  unset CPPFLAGS
+
+  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 -Dm644 doc/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list