21 lines
544 B
Bash
21 lines
544 B
Bash
# Template file for 'ne'
|
|
pkgname=ne
|
|
version=3.1.0
|
|
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=bf2a664e788e4f39073d0000a4ba80f02c43c556cb7fd714704f13175a4b8b51
|
|
|
|
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
|
|
}
|