🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536
pkgname: nano
pkgver: '9.2'
pkgrel: '1'
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: []
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