mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
35 lines
698 B
Bash
35 lines
698 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="7"
|
|
|
|
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
|
|
|
|
inherit python-any-r1
|
|
|
|
DESCRIPTION="ANother Auto NICe daemon"
|
|
HOMEPAGE="https://github.com/Nefelim4ag/Ananicy"
|
|
SRC_URI="https://github.com/Nefelim4ag/Ananicy/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
RDEPEND="sys-apps/systemd"
|
|
S="${WORKDIR}/${P^}"
|
|
DOCS=( README.md )
|
|
|
|
src_prepare(){
|
|
sed -e 's|\/sbin\/sysctl|\/usr\/sbin\/sysctl|g' -i ananicy.service || die
|
|
default
|
|
}
|
|
|
|
src_compile() {
|
|
return
|
|
}
|
|
|
|
src_install() {
|
|
emake PREFIX="${ED}" install
|
|
python_fix_shebang "${ED}/usr/bin/ananicy"
|
|
einstalldocs
|
|
}
|