From 4f538f3e36fc7872d85649b8ee51dc004a75a618 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Thu, 20 May 2021 22:47:12 +0300 Subject: [PATCH] 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] --- srcpkgs/ne/template | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/srcpkgs/ne/template b/srcpkgs/ne/template index 88982f70542..a2a33a66cf4 100644 --- a/srcpkgs/ne/template +++ b/srcpkgs/ne/template @@ -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 " 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} }