21 lines
545 B
Bash
21 lines
545 B
Bash
# Template file for 'ne'
|
|
pkgname=ne
|
|
version=3.1.2
|
|
revision=1
|
|
makedepends="ncurses-devel"
|
|
short_desc="The Nice Editor"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
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
|
|
}
|