void-packages/srcpkgs/ne/template
2019-11-03 10:44:57 +01:00

19 lines
511 B
Bash

# Template file for 'ne'
pkgname=ne
version=3.2.1
revision=1
build_style=gnu-makefile
makedepends="ncurses-devel"
short_desc="Nice Editor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
homepage="http://ne.di.unimi.it/"
distfiles="http://ne.di.unimi.it/ne-${version}.tar.gz"
checksum=7944a87a5f50430e57e6de83efe2d2f2987d05335029d5a11a318154836ac6f7
post_extract() {
sed -i 's/ne.dvi ne.pdf//' doc/makefile
}
do_build() {
make CFLAGS="$CFLAGS -std=c99 -D_GNU_SOURCE" CC=$CC ${makejobs}
}