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

recipes/utils/nano/PAGBUILD.yaml main

37 lines Raw ← Back
12345678910111213141516171819202122232425262728293031323334353637
pkgname: nano
pkgver: '9.2'
pkgrel: '2'
pkgdesc: 'A simple text editor which aims to replace Pico, the default editor in the Pine package.'
url: 'https://www.nano-editor.org/'
arch: x86_64
depends:
- ncurses
makedepends:
- ncurses
- file

source:
- 'https://www.nano-editor.org/dist/v9/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr \
  --sysconfdir=/etc/nano \
  --enable-color    \
  --enable-utf8     \
  --enable-multibuffer \
  --docdir=/usr/share/doc/nano-${pkgver} \
  --disable-x

  make

  make DESTDIR=${PKGDIR} install

  install -DTm644 ../${pkgname}-${pkgver}/doc/sample.nanorc ${PKGDIR}/etc/nano/nanorc

package: |
  true