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