From c7c1cbc8d5a30d885eb15a478b36f10bb51f5ee9 Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Wed, 12 May 2021 23:49:04 -0700 Subject: [PATCH] slurm: fix license, vsed updates --- srcpkgs/slurm/template | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/srcpkgs/slurm/template b/srcpkgs/slurm/template index e07f77c486b..64ade843fce 100644 --- a/srcpkgs/slurm/template +++ b/srcpkgs/slurm/template @@ -1,21 +1,21 @@ # Template file for 'slurm' pkgname=slurm version=0.4.3 -revision=4 +revision=5 wrksrc="${pkgname}-upstream-${version}" build_style="cmake" makedepends="ncurses-devel" short_desc="Yet another network load monitor" maintainer="Leah Neukirchen " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://github.com/mattthias/slurm" distfiles="https://github.com/mattthias/slurm/archive/upstream/${version}.tar.gz" checksum=b960c0d215927be1d02c176e1b189321856030226c91f840284886b727d3a3ac -post_extract() { - sed -i '//d' os.h - sed -i 's,,,g' os.h - sed -i 's,,,g' os.h +post_patch() { + vsed -i '//d' os.h + vsed -i 's,,,g' os.h + vsed -i 's,,,g' os.h } post_install() { vman slurm.1