void-packages/srcpkgs/ne/template
2018-10-06 15:14:11 -03:00

21 lines
544 B
Bash

# Template file for 'ne'
pkgname=ne
version=3.1.2
revision=1
makedepends="ncurses-devel"
short_desc="The Nice Editor"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://ne.di.unimi.it/"
distfiles="http://ne.di.unimi.it/ne-${version}.tar.gz"
checksum=a2011fb420d8f26ff4cbf362206dce1bc1775f5c0619eb43440958df311b131b
post_extract() {
sed -i 's/ne.dvi ne.pdf//' doc/makefile
}
do_build() {
make CFLAGS="$CFLAGS -std=c99 -D_GNU_SOURCE" CC=$CC ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
}