void-packages/srcpkgs/nano/template
Alessio Sergi d659b6cdde nano: update to 2.8.4
"With this release we return to GNU. For just a little while we dreamt
we were tigers. But we are back in the herd, back to a healthy diet of
fresh green free grass." (GNU nano 2.7.0)
2017-05-26 12:59:30 +02:00

20 lines
561 B
Bash

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