void-packages/srcpkgs/ne/template
2017-06-14 00:06:51 +02:00

21 lines
544 B
Bash

# Template file for 'ne'
pkgname=ne
version=3.1.1
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=ec4f5d919c38b1a5938b609a722d0d88a68c404b4564e3bb654b96b30582add9
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
}