-DIST schedtool-1.3.0.tar.bz2 26531 BLAKE2B 8b702e3e191054935037318490b883e6c78d7ca9643954b635d140c909fe545e14c86d48cfcf126ad7a21541461d0aa9141d6482335a6fb8f9a516b61a86cb94 SHA512 1ae39a7b9481cf4062740343cd31289117610041546a7969fde7ae3bed3c1a06cd258dffaeafc4326c9115e37878b943d5abec222e25e45e2a5f76c65adf3b6a
+DIST schedtool-1.3.0.tar.gz 29040 BLAKE2B 45e9f0c84b99be83be4e250c71a3ef43e323efff565a89a8e69960b8cb703faa7df94fbfbd3a11863e4ecb54cc07acca8cd7803e21aaafe59cc0e923d1117025 SHA512 71b7bbc91ee86a83639b179c8cce70e0fd3acca3af3cbc51880cf1f177fdd901e1fb6d0ecea2aa40761608589e7b903431ac97d5046f9ec50535bad691af2964
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
inherit toolchain-funcs
DESCRIPTION="A tool to query or alter a process' scheduling policy"
-HOMEPAGE="http://freequaos.host.sk/schedtool"
-SRC_URI="http://freequaos.host.sk/${PN}/${P}.tar.bz2"
+HOMEPAGE="https://github.com/freequaos/schedtool"
+SRC_URI="https://github.com/freequaos/schedtool/archive/${P}.tar.gz"
LICENSE="GPL-2"
SLOT=0
KEYWORDS="amd64 ~arm ~mips ppc x86 ~amd64-linux ~x86-linux"
IUSE=""
+S="${WORKDIR}/${PN}-${P}"
+
src_prepare() {
- sed -i '/^CFLAGS=/d;/^install:/s/install-doc//' Makefile || die
+ default
+ sed \
+ -e '/^CFLAGS=/d;/^install:/s@ install-doc zipman@@' \
+ -e '/install/s@\(schedtool.8\).gz@\1@' \
+ -i Makefile || die
}
src_compile() {