ne: update to 3.3.1.

Also:
- add perl and texinfo to hostmakedepends (build more docs), which
  allows us to remove post_extract()
- add changelog
- change distfiles to github

Closes: #31029 [via git-merge-pr]
This commit is contained in:
mobinmob 2021-05-20 22:47:12 +03:00 committed by Érico Nogueira
parent cfbb70b0b5
commit 4f538f3e36

View file

@ -1,19 +1,18 @@
# Template file for 'ne'
pkgname=ne
version=3.3.0
version=3.3.1
revision=1
build_style=gnu-makefile
hostmakedepends="perl texinfo"
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=74936aac85eaa59cd7f11e42c7568c903de2137dd528f75864d0c827f05be1bd
changelog="https://raw.githubusercontent.com/vigna/ne/master/NEWS"
distfiles="https://github.com/vigna/ne/archive/refs/tags/${version}.tar.gz"
checksum=931f01380b48e539b06d65d80ddf313cce67aab6d7b62462a548253ab9b3e10a
post_extract() {
sed -i 's/ne.dvi ne.pdf//' doc/makefile
}
do_build() {
make CFLAGS="$CFLAGS -std=c99 -D_GNU_SOURCE" CC=$CC ${makejobs}
}