PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/ncftp/PAGBUILD.yaml main

46 lines Raw ← Back
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
pkgname: ncftp
pkgver: '3.3.0'
pkgrel: '3'
pkgdesc: 'Powerful and flexible interface to the Internet standard File Transfer Protocol.'
url: 'https://www.ncftp.com/'
arch: x86_64
depends:
- ncurses
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