void-packages/srcpkgs/nano/template

21 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
}