void-packages/srcpkgs/nano/template
maxice8 5a1204aa27 nano: update to 2.9.6.
Closes #13907.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-30 19:23:03 +02:00

20 lines
557 B
Bash

# Template file for 'nano'
pkgname=nano
version=2.9.6
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=a373507ebb4e9307a8202fbc19b5d29718025c8ec773669349211c362545d4c6
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-DREG_STARTEND=0";;
esac
post_install() {
vsconf syntax/nanorc.nanorc
}