void-packages/srcpkgs/nano/template
2017-06-29 03:03:46 +02:00

20 lines
561 B
Bash

# Template file for 'nano'
pkgname=nano
version=2.8.5
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=cb43bf11990b2839446229b0c21ed7abef67c2df861f250cc874553ca27d89c2
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-DREG_STARTEND=0";;
esac
post_install() {
vsconf syntax/nanorc.nanorc
}