void-packages/srcpkgs/nano/template
maxice8 ccff452866 nano: update to 2.9.4.
Closes: #12318 [via git-merge-pr]
2018-03-09 19:06:29 -08:00

20 lines
568 B
Bash

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