void-packages/srcpkgs/nano/template
Mike Wortin c1185648f8
nano: update to 2.9.7.
Closes #14430.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-18 09:38:25 +02:00

21 lines
558 B
Bash

# Template file for 'nano'
pkgname=nano
version=2.9.7
revision=1
build_style=gnu-configure
makedepends="file-devel ncurses-devel"
short_desc="The GNU nano text editor"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="https://www.nano-editor.org/"
distfiles="https://www.nano-editor.org/dist/v${version%.*}/nano-$version.tar.xz"
checksum=b64ab017305b1777e97b5b9b07b31db8aeebfc3e8719f61e8da1cf3866d344bd
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-DREG_STARTEND=0";;
esac
post_install() {
vsconf syntax/nanorc.nanorc
}