upgpkg: tuned-git 2.24.0.r6.g35eed3c-1: refactor

* Refactor of PKGBUILD for parity with non-git package
This commit is contained in:
Manuel 2024-10-22 00:10:47 +02:00
parent 2ee6cc34e5
commit 1150336506
Signed by: Manuel
GPG key ID: 4085037435E1F07A
3 changed files with 104 additions and 52 deletions

View file

@ -1,33 +1,50 @@
pkgbase = tuned-git
pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system
pkgver = 2.10.0.r75.g26db89d
pkgrel = 4
pkgver = 2.24.0.r6.g35eed3c
pkgrel = 1
url = https://github.com/redhat-performance/tuned
install = tuned.install
arch = any
license = GPL
makedepends = git
license = GPL-2.0-or-later
makedepends = desktop-file-utils
makedepends = git
depends = dbus-glib
depends = ethtool
depends = python-configobj
depends = python-pyudev
depends = python-gobject
depends = python-decorator
depends = python-dbus
depends = python-schedutils
depends = python-linux-procfs
depends = perf
depends = gawk
depends = hdparm
depends = polkit
depends = hicolor-icon-theme
optdepends = virt-what
optdepends = systemtap
optdepends = python-dmidecode
optdepends = x86_energy_perf_policy
provides = tuned
backup = etc/tuned/active_profile
source = tuned-git::git://github.com/redhat-performance/tuned
sha256sums = SKIP
depends = python-configobj
depends = python-dbus
depends = python-gobject
depends = python-linux-procfs
depends = python-perf
depends = python-pyudev
source = git+https://github.com/redhat-performance/tuned.git
sha512sums = SKIP
pkgname = tuned-git
optdepends = virt-what: virtual machine detection
optdepends = systemtap: detailed system monitoring
optdepends = tuned-ppd: power-profiles-daemon api translation
optdepends = wireless_tools: wireless device power management
provides = tuned
conflicts = tuned
backup = etc/tuned/active_profile
backup = etc/tuned/bootcmdline
backup = etc/tuned/cpu-partitioning-powersave-variables.conf
backup = etc/tuned/cpu-partitioning-variables.conf
backup = etc/tuned/post_loaded_profile
backup = etc/tuned/profile_mode
backup = etc/tuned/realtime-variables.conf
backup = etc/tuned/realtime-virtual-guest-variables.conf
backup = etc/tuned/realtime-virtual-host-variables.conf
backup = etc/tuned/tuned-main.conf
pkgname = tuned-ppd-git
pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)
depends = tuned
provides = tuned-ppd
provides = power-profiles-daemon
conflicts = tuned-ppd
conflicts = power-profiles-daemon
options = !emptydirs
backup = etc/tuned/ppd.conf