void-packages/srcpkgs/nano/template
binladen17 6f43818134 nano: update to 2.8.2
Closes: #6332 [via git-merge-pr]
2017-05-06 19:17:27 +02:00

20 lines
557 B
Bash

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