nano: update to 8.0.

- Enable building the html docs
- Added the `enano` symlink, which activates the emacs bindings mode
- Fixed the changelog URL
This commit is contained in:
0x5c 2024-05-28 08:35:46 -04:00 committed by classabbyamp
parent a8444e948c
commit 31ecc1fdf4

View file

@ -1,18 +1,20 @@
# Template file for 'nano' # Template file for 'nano'
pkgname=nano pkgname=nano
version=7.2 version=8.0
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-utf8" configure_args="--enable-utf8"
hostmakedepends="pkg-config groff"
makedepends="file-devel ncurses-devel" makedepends="file-devel ncurses-devel"
short_desc="GNU nano text editor" short_desc="GNU nano text editor"
maintainer="0x5c <dev@0x5c.io>" maintainer="0x5c <dev@0x5c.io>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://www.nano-editor.org/" homepage="https://www.nano-editor.org/"
changelog="http://git.savannah.gnu.org/cgit/nano.git/plain/NEWS" changelog="https://git.savannah.gnu.org/cgit/nano.git/plain/NEWS"
distfiles="https://www.nano-editor.org/dist/v${version%%.*}/nano-${version}.tar.xz" distfiles="https://www.nano-editor.org/dist/v${version%%.*}/nano-${version}.tar.xz"
checksum=86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526 checksum=c17f43fc0e37336b33ee50a209c701d5beb808adc2d9f089ca831b40539c9ac4
post_install() { post_install() {
vsconf doc/sample.nanorc vsconf doc/sample.nanorc
ln -s nano ${DESTDIR}/usr/bin/enano
} }