From 4ae91d22aaa7b4adc670d083fa02d43ca0dce221 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Thu, 30 Jul 2020 09:12:01 -0500 Subject: [PATCH] nano: update to 5.0. Also set site for the update-check to see latest version (i.e. 6.x). --- srcpkgs/nano/template | 6 +++--- srcpkgs/nano/update | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/nano/update diff --git a/srcpkgs/nano/template b/srcpkgs/nano/template index 1a0a2e08a0d..0bfda604638 100644 --- a/srcpkgs/nano/template +++ b/srcpkgs/nano/template @@ -1,6 +1,6 @@ # Template file for 'nano' pkgname=nano -version=4.9.3 +version=5.0 revision=1 build_style=gnu-configure configure_args="--enable-utf8" @@ -10,8 +10,8 @@ maintainer="Lugubris " license="GPL-3.0-or-later" homepage="https://www.nano-editor.org/" changelog="http://git.savannah.gnu.org/cgit/nano.git/plain/NEWS" -distfiles="https://www.nano-editor.org/dist/v4/nano-${version}.tar.xz" -checksum=6e3438f033a0ed07d3d74c30d0803cbda3d2366ba1601b7bbf9b16ac371f51b4 +distfiles="https://www.nano-editor.org/dist/v${version%%.*}/nano-${version}.tar.xz" +checksum=7c0d94be69cd066f20df2868a2da02f7b1d416ce8d47c0850a8bd270897caa36 post_install() { vsconf syntax/nanorc.nanorc diff --git a/srcpkgs/nano/update b/srcpkgs/nano/update new file mode 100644 index 00000000000..ec5a054db94 --- /dev/null +++ b/srcpkgs/nano/update @@ -0,0 +1 @@ +site="https://www.nano-editor.org/dist/latest"