void-packages/srcpkgs/nano/template

22 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
}