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