This commit is contained in:
Ryan Hughes committed 2026-05-08 01:04:50 -04:00
1 parent fb1174198e
commit f3ca0fcca2
8 files changed
+3

No files matched your search

-49
View File
@@ -1,49 +0,0 @@
pkgbase = asusctl
pkgdesc = A control daemon, tools, and a collection of crates for interacting with ASUS ROG laptops
pkgver = 6.3.7
pkgrel = 1
url = https://asus-linux.org
arch = x86_64
license = MPL-2.0
makedepends = clang
makedepends = cmake
makedepends = fontconfig
makedepends = git
makedepends = hicolor-icon-theme
makedepends = libayatana-appindicator
makedepends = libinput
makedepends = libusb
makedepends = rust
makedepends = seatd
makedepends = systemd
source = git+https://gitlab.com/asus-linux/asusctl.git#tag=6.3.7
b2sums = 117e3ccc654dbdddd7eac28938360b776fe3f607cddc7144d1f5d8209d7e99a449aafa881c81ba55980be6585711998611eb0e568c764cbb758e50a66e146159
pkgname = asusctl
pkgdesc = A control daemon, CLI tools, and a collection of crates for interacting with ASUS ROG laptops
install = asusctl.install
depends = glibc
depends = libgcc
depends = libusb
depends = systemd
depends = systemd-libs
optdepends = acpi_call: fan control
optdepends = asusctltray: tray profile switcher
optdepends = rog-control-center: app to control asusctl
optdepends = supergfxctl: hybrid GPU control
conflicts = gnome-shell-extension-asusctl-gnome
pkgname = rog-control-center
pkgdesc = App to control asusctl
depends = asusctl
depends = fontconfig
depends = freetype2
depends = glibc
depends = hicolor-icon-theme
depends = libayatana-appindicator
depends = libgcc
depends = libinput
depends = libxkbcommon
depends = mesa
depends = seatd
depends = systemd-libs
-4
View File
@@ -1,4 +0,0 @@
[asusctl]
source = "git"
git = "https://gitlab.com/asus-linux/asusctl.git"
-12
View File
@@ -1,12 +0,0 @@
Copyright Arch Linux Contributors
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-1
View File
@@ -1 +0,0 @@
../LICENSE
-108
View File
@@ -1,108 +0,0 @@
# Maintainer: Fabian Bornschein <fabiscafe@archlinux.org>
# Contributor: Static_Rocket
pkgbase=asusctl
pkgname=(
asusctl
rog-control-center
)
pkgver=6.3.7
pkgrel=1
pkgdesc="A control daemon, tools, and a collection of crates for interacting with ASUS ROG laptops"
arch=('x86_64')
url="https://asus-linux.org"
license=('MPL-2.0')
makedepends=(
clang
cmake
fontconfig
git
hicolor-icon-theme
libayatana-appindicator
libinput
libusb
rust
seatd
systemd
)
source=("git+https://gitlab.com/asus-linux/asusctl.git#tag=$pkgver")
b2sums=('117e3ccc654dbdddd7eac28938360b776fe3f607cddc7144d1f5d8209d7e99a449aafa881c81ba55980be6585711998611eb0e568c764cbb758e50a66e146159')
prepare() {
cd "${pkgbase}"
# Keep rust/cargo build-dependency management inside the build directory
export CARGO_HOME="${srcdir}/cargo"
# Follow Rust package guidelines
## https://wiki.archlinux.org/title/Rust_package_guidelines
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
cd "${pkgbase}"
# Keep rust/cargo build-dependency management inside the build directory
export CARGO_HOME="${srcdir}/cargo"
# Follow Rust package guidelines
## https://wiki.archlinux.org/title/Rust_package_guidelines
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
make build
}
package_asusctl() {
pkgdesc="${pkgdesc/tools/CLI tools}"
depends=(
glibc
libgcc
libusb
systemd
systemd-libs
)
conflicts=(gnome-shell-extension-asusctl-gnome)
install=asusctl.install
optdepends=(
'acpi_call: fan control'
'asusctltray: tray profile switcher'
'rog-control-center: app to control asusctl'
'supergfxctl: hybrid GPU control'
)
cd "${pkgbase}"
export CARGO_HOME="${srcdir}/cargo"
make DESTDIR="${pkgdir}" \
install-asusctl \
install-asusd \
install-asusd_user \
install-asus-shutdown \
install-data-asusd \
install-data-asusd_user
}
package_rog-control-center() {
depends=(
asusctl
fontconfig
freetype2
glibc
hicolor-icon-theme
libayatana-appindicator
libgcc
libinput
libxkbcommon
mesa
seatd
systemd-libs
)
pkgdesc="App to control asusctl"
cd "${pkgbase}"
export CARGO_HOME="${srcdir}/cargo"
make DESTDIR="${pkgdir}" \
install-data-rog_gui \
install-rog_gui
}
-22
View File
@@ -1,22 +0,0 @@
version = 1
[[annotations]]
path = [
"PKGBUILD",
"README.md",
"keys/**",
".SRCINFO",
".nvchecker.toml",
"*.install",
"*.sysusers",
"*.tmpfiles",
"*.logrotate",
"*.pam",
"*.service",
"*.socket",
"*.timer",
"*.desktop",
"*.hook",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
-19
View File
@@ -1,19 +0,0 @@
post_install() {
printf ":: asusd provides a service that is activated by an udev rule on\n"
printf ":: startup. Please reboot the system or run\n"
printf ":: # systemctl start asusd.service\n"
printf ":: to make it work.\n"
printf ":: See https://gitlab.com/asus-linux/asusctl#kernel-support.\n"
printf ":: for latest required kernel patches/versions\n"
}
post_upgrade() {
if systemctl is-active asusd.service --quiet
then
printf ":: asusd service will be restarted…\n"
systemctl daemon-reload
systemctl restart asusd.service
fi
printf ":: See https://gitlab.com/asus-linux/asusctl#kernel-support.\n"
printf ":: for latest required kernel patches/versions\n"
}