slurm: fix license, vsed updates

This commit is contained in:
Colin Booth 2021-05-12 23:49:04 -07:00 committed by Érico Nogueira Rolim
parent 7f80f87a5d
commit c7c1cbc8d5
1 changed files with 6 additions and 6 deletions

View File

@ -1,21 +1,21 @@
# Template file for 'slurm' # Template file for 'slurm'
pkgname=slurm pkgname=slurm
version=0.4.3 version=0.4.3
revision=4 revision=5
wrksrc="${pkgname}-upstream-${version}" wrksrc="${pkgname}-upstream-${version}"
build_style="cmake" build_style="cmake"
makedepends="ncurses-devel" makedepends="ncurses-devel"
short_desc="Yet another network load monitor" short_desc="Yet another network load monitor"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2" license="GPL-2.0-or-later"
homepage="https://github.com/mattthias/slurm" homepage="https://github.com/mattthias/slurm"
distfiles="https://github.com/mattthias/slurm/archive/upstream/${version}.tar.gz" distfiles="https://github.com/mattthias/slurm/archive/upstream/${version}.tar.gz"
checksum=b960c0d215927be1d02c176e1b189321856030226c91f840284886b727d3a3ac checksum=b960c0d215927be1d02c176e1b189321856030226c91f840284886b727d3a3ac
post_extract() { post_patch() {
sed -i '/<sys\/sysctl.h>/d' os.h vsed -i '/<sys\/sysctl.h>/d' os.h
sed -i 's,<net/ppp_defs.h>,<linux/ppp_defs.h>,g' os.h vsed -i 's,<net/ppp_defs.h>,<linux/ppp_defs.h>,g' os.h
sed -i 's,<net/if_ppp.h>,<linux/if_ppp.h>,g' os.h vsed -i 's,<net/if_ppp.h>,<linux/if_ppp.h>,g' os.h
} }
post_install() { post_install() {
vman slurm.1 vman slurm.1