void-packages/srcpkgs/nano/template
2018-04-03 18:27:37 +02:00

20 lines
557 B
Bash

# Template file for 'nano'
pkgname=nano
version=2.9.5
revision=1
build_style=gnu-configure
makedepends="file-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=7b8d181cb57f42fa86a380bb9ad46abab859b60383607f731b65a9077f4b4e19
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-DREG_STARTEND=0";;
esac
post_install() {
vsconf syntax/nanorc.nanorc
}