🔒 Repository is read-only – file editing is disabled.

recipes/utils/ncftp/PAGBUILD.yaml main

45 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839404142434445
pkgname: ncftp
pkgver: '3.3.0'
pkgrel: '2'
pkgdesc: 'Powerful and flexible interface to the Internet standard File Transfer Protocol.'
url: 'https://www.ncftp.com/'
arch: x86_64
depends: []
makedepends:
- ncurses
- inetutils

source:
- 'ncftp-reproducible.patch'
- 'https://www.ncftp.com/public_ftp/ncftp/${pkgname}-${pkgver}-src.tar.gz'

sha256sums:
- SKIP
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  patch -Np1 -i ../ncftp-reproducible.patch

  # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
  CFLAGS+=' -fcommon'

  # FS#39211
  unset CPPFLAGS

  CPP=/usr/bin/cpp \
  ./configure --prefix=/usr \
    --sysconfdir=/etc/ncftp

  make -C libncftp shared
  make

  install -d ${PKGDIR}/usr/{share,include}

  make PREFIX=${PKGDIR}/usr \
   -C libncftp soinstall

  make prefix=${PKGDIR}/usr mandir=${PKGDIR}/usr/share/man install

package: |
  true