mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
* add: asusctl
* Make it build
* Remove empty file
* Add update.rhai
* Don't build on non-x86_64 architecture
* use gitlab update function
* fix(asusctl): remove unnecessary patch
* oops
* actually remove the patch
* fix(asusctl): add systemd scriptlets
---------
(cherry picked from commit a139fd1b10)
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
Signed-off-by: metcya <134973769+metcya@users.noreply.github.com>
Co-authored-by: metcya <134973769+metcya@users.noreply.github.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
Name: asusctl
|
||||
Version: 6.1.22
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: A control daemon, CLI tools, and a collection of crates for interacting with ASUS ROG laptops
|
||||
URL: https://gitlab.com/asus-linux/asusctl
|
||||
Source0: %url/-/archive/%version/asusctl-%version.tar.gz
|
||||
@@ -76,6 +76,18 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/rog-control-center.d
|
||||
%{_docdir}/%{name}/
|
||||
%{_datadir}/asusd/
|
||||
|
||||
%post
|
||||
%systemd_post asusd.service
|
||||
%systemd_user_post asusd-user.service
|
||||
|
||||
%preun
|
||||
%systemd_preun asusd.service
|
||||
%systemd_user_preun asusd-user.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart asusd.service
|
||||
%systemd_user_postun_with_restart asusd-user.service
|
||||
|
||||
%files rog-gui
|
||||
%{_bindir}/rog-control-center
|
||||
%{_datadir}/applications/rog-control-center.desktop
|
||||
@@ -83,6 +95,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/rog-control-center.d
|
||||
%{_datadir}/rog-gui
|
||||
|
||||
%changelog
|
||||
* Mon Dec 1 2025 Metcya <metcya@gmail.com>
|
||||
- Add systemd scriptlets
|
||||
|
||||
* Tue Nov 18 2025 Metcya <metcya@gmail.com>
|
||||
- Remove unnecessary patch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user