diff options
author | Fabian Bornschein | 2022-11-07 11:59:07 +0100 |
---|---|---|
committer | Fabian Bornschein | 2022-11-07 11:59:07 +0100 |
commit | 40f3e64b4fcf9f28501e8ce05731ffede1c629f3 (patch) | |
tree | 01c479c2a3fd7088a3a20a2f70b3ec8947a7dc6e | |
parent | a2e3806c0f45d89bedcedd7b5c566e09c447fa28 (diff) | |
download | aur-40f3e64b4fcf9f28501e8ce05731ffede1c629f3.tar.gz |
4.5.0
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rwxr-xr-x | asusctl.install | 8 |
3 files changed, 18 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = asusctl pkgdesc = A control daemon, tools, and a collection of crates for interacting with ASUS ROG laptops - pkgver = 4.4.0 + pkgver = 4.5.0 pkgrel = 1 url = https://gitlab.com/asus-linux/asusctl arch = x86_64 @@ -14,11 +14,12 @@ pkgbase = asusctl makedepends = systemd makedepends = power-profiles-daemon conflicts = asusctl-git - source = git+https://gitlab.com/asus-linux/asusctl.git#commit=d76cb3b95aac844ed97117b05aaa4abc8ab2696c + source = git+https://gitlab.com/asus-linux/asusctl.git#commit=2cd1ee02eecbb64026f78bc895ae99ab952ecd23 sha256sums = SKIP pkgname = asusctl pkgdesc = A control daemon, CLI tools, and a collection of crates for interacting with ASUS ROG laptops + install = asusctl.install depends = libusb depends = systemd depends = power-profiles-daemon @@ -3,7 +3,7 @@ pkgbase=asusctl pkgname=(asusctl rog-control-center) -pkgver=4.4.0 +pkgver=4.5.0 pkgrel=1 pkgdesc="A control daemon, tools, and a collection of crates for interacting with ASUS ROG laptops" arch=('x86_64') @@ -12,7 +12,7 @@ license=('MPL2') makedepends=('cmake' 'git' 'rust' 'hicolor-icon-theme' 'libusb' 'fontconfig' 'systemd' 'power-profiles-daemon') conflicts=('asusctl-git') -_commit=d76cb3b95aac844ed97117b05aaa4abc8ab2696c # tags/4.4.0^0 +_commit=2cd1ee02eecbb64026f78bc895ae99ab952ecd23 # tags/4.5.0^0 source=("git+${url}.git#commit=$_commit") sha256sums=('SKIP') @@ -21,6 +21,10 @@ pkgver() { git describe --tags | sed -r 's/\.([a-z])/\1/;s/[^-]*-g/r&/;s/-/+/g' } +prepare() { + cd "${pkgbase}" +} + build() { cd "${pkgbase}" make build @@ -39,6 +43,7 @@ _pick() { package_asusctl() { pkgdesc="${pkgdesc/tools/CLI tools}" depends=('libusb' 'systemd' 'power-profiles-daemon' 'hicolor-icon-theme') + install='asusctl.install' optdepends=('acpi_call: fan control' 'supergfxctl: hybrid GPU control' 'asusctltray: tray profile switcher' diff --git a/asusctl.install b/asusctl.install new file mode 100755 index 000000000000..4f125106d340 --- /dev/null +++ b/asusctl.install @@ -0,0 +1,8 @@ +post_upgrade() { + if [ $(systemctl is-active asusd.service) == "active" ] + then + printf ":: asusd is running, and requires a restart of the serviceā¦\n" + systemctl restart asusd.service + fi +} + |