diff --git a/ci/gen_daemon_pkgbuild.py b/ci/gen_daemon_pkgbuild.py index 4db236b..573ac5d 100644 --- a/ci/gen_daemon_pkgbuild.py +++ b/ci/gen_daemon_pkgbuild.py @@ -18,10 +18,14 @@ def create_pkgbuild(pkgname, pkgver, url): arch=('x86_64') url="{url}" license=('MIT') + depends=('acpid' 'zsh' 'pciutils' 'usbutils') optdepends=('xorg-xrandr: needed for screen settings' 'brightnessctl: needed for brightness settings' 'net-tools: needed to disable ethernet cards') makedepends=('cargo') + +provides=('power-options-daemon') conflicts=('power-options-daemon-git') + source=("$pkgname-$pkgver.tar.gz::{url}/archive/v$pkgver.tar.gz") sha256sums=('SKIP') diff --git a/ci/gen_daemon_pkgbuild_git.py b/ci/gen_daemon_pkgbuild_git.py index 8bf3636..d91ddbe 100644 --- a/ci/gen_daemon_pkgbuild_git.py +++ b/ci/gen_daemon_pkgbuild_git.py @@ -23,10 +23,14 @@ def create_pkgbuild(pkgname, pkgver, url): arch=('x86_64') url="{url}" license=('MIT') + depends=('acpid' 'zsh' 'pciutils' 'usbutils') optdepends=('xorg-xrandr: needed for screen settings' 'brightnessctl: needed for brightness settings' 'net-tools: needed to disable ethernet cards') makedepends=('cargo' 'git') + +provides=('power-options-daemon') conflicts=('power-options-daemon') + source=("git+https://github.com/thealexdev23/power-options.git") sha256sums=('SKIP') diff --git a/ci/gen_gtk_pkgbuild.py b/ci/gen_gtk_pkgbuild.py index 15be326..4e0ccf8 100644 --- a/ci/gen_gtk_pkgbuild.py +++ b/ci/gen_gtk_pkgbuild.py @@ -18,9 +18,13 @@ def create_pkgbuild(pkgname, pkgver, url): arch=('x86_64') url={url} license=('MIT') -conflicts=('power-options-gtk-git') -depends=('power-options-daemon-git') + +depends=('power-options-daemon' 'libadwaita' 'yad') makedepends=('cargo') + +provides=('power-options-gtk') +conflicts=('power-options-gtk-git' 'tlp' 'auto-cpufreq' 'power-profiles-daemon' 'cpupower-gui') + source=("$pkgname-$pkgver.tar.gz::{url}/archive/v$pkgver.tar.gz") sha256sums=('SKIP') diff --git a/ci/gen_gtk_pkgbuild_git.py b/ci/gen_gtk_pkgbuild_git.py index d9eea28..7975716 100644 --- a/ci/gen_gtk_pkgbuild_git.py +++ b/ci/gen_gtk_pkgbuild_git.py @@ -23,9 +23,13 @@ def create_pkgbuild(pkgname, pkgver, url): arch=('x86_64') url={url} license=('MIT') -conflicts=('power-options-gtk') -depends=('power-options-daemon-git') -makedepends=('cargo') + +depends=('power-options-daemon' 'libadwaita' 'yad') +makedepends=('cargo' 'git') + +provides=('power-options-gtk') +conflicts=('power-options-gtk' 'tlp' 'auto-cpufreq' 'power-profiles-daemon' 'cpupower-gui') + source=("git+https://github.com/thealexdev23/power-options.git") sha256sums=('SKIP')