void-packages/srcpkgs/nano/template
Sir_Boops cba54758e3 nano: update to 2.8.6
Closes: #7105 [via git-merge-pr]
2017-07-21 22:31:46 -07:00

20 lines
561 B
Bash

# Template file for 'nano'
pkgname=nano
version=2.8.6
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"
distfiles="https://www.nano-editor.org/dist/v${version%.*}/$pkgname-$version.tar.xz"
checksum=9a46962a3ae59db922467a095217ed23280b42d80640f932f3a59ba2a6a85776
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-DREG_STARTEND=0";;
esac
post_install() {
vsconf syntax/nanorc.nanorc
}