@xenhat i tested and it worked! And i can add you as co-mantainer
Edit: And yha i also have to purge the cache to work
Git Clone URL: | https://aur.archlinux.org/lenovolegionlinux-git.git (read-only, click to copy) |
---|---|
Package Base: | lenovolegionlinux-git |
Description: | LenovoLegionLinux (LLL) brings additional drivers and tools for Lenovo Legion series laptops to Linux. PLEASE READ THE REPO BEFORE INSTALL THIS PACKAGE!!! |
Upstream URL: | https://github.com/johnfanv2/LenovoLegionLinux |
Licenses: | GPL |
Conflicts: | legion-fan-utils-linux-git |
Submitter: | MrDuartePT |
Maintainer: | MrDuartePT (XenHat) |
Last Packager: | MrDuartePT |
Votes: | 10 |
Popularity: | 1.01 |
First Submitted: | 2023-03-14 18:40 (UTC) |
Last Updated: | 2024-11-23 10:30 (UTC) |
@xenhat i tested and it worked! And i can add you as co-mantainer
Edit: And yha i also have to purge the cache to work
okay it works now but I had to force purge the cache. Please bump the release version from 1 to 2 :)
Would you like to add me as an co-maintainer?
the /../
in the install path is needed to use the modified files. You keep breaking the package. Maybe I don't understand what you're trying to achieve?
You can, but you forgot to git add
them.
@xenhat lets see is strange why i can't only include directly on the repo
This should work:
diff --git a/PKGBUILD b/PKGBUILD
index 28d3f95..10af28e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,8 +34,8 @@ conflicts=(
)
source=("${_pkgname}::git+https://github.com/johnfanv2/LenovoLegionLinux"
- "legion_cli.policy"
- "legion_gui.desktop")
+ 'legion_cli.policy::https://raw.githubusercontent.com/MrDuartePT/mrduarte-ebuilds/master/sys-firmware/LenovoLegionLinux/files/legion_cli.policy'
+ 'legion_gui.desktop::https://raw.githubusercontent.com/MrDuartePT/mrduarte-ebuilds/master/sys-firmware/LenovoLegionLinux/files/legion_gui.desktop')
sha256sums=('SKIP'
'8e0c262868b5de17ca384b200a0080b2f03e284422ab06ee408310d038c9cdf5'
'3af20ff4678b603f98e71b1fb540553dd751509d6ea5c1158462aebe532b8189')
@@ -68,8 +68,8 @@ package() {
install -Dm644 legion_logo.png "${pkgdir}/usr/share/pixmaps/legion_logo.png"
#Install custom files
- install -Dm644 "${srcdir}legion_cli.policy" "${pkgdir}/usr/share/polkit-1/actions/"
- install -Dm775 "${srcdir}legion_gui.desktop" "${pkgdir}/usr/share/applications/"
+ install -Dm644 "${srcdir}/../legion_cli.policy" "${pkgdir}/usr/share/polkit-1/actions/"
+ install -Dm775 "${srcdir}/../legion_gui.desktop" "${pkgdir}/usr/share/applications/"
# Systemd service
cd "${srcdir}/${_pkgname}/extra"
@MrDuartePT .SRCINFO
wasn't updated, so the AUR package isn't actually updated when installed through a helper...
Also, I see the problem now. I'll produce a full fix soon
ah ok thanks @xenhat i applied you patch verify if is working
@MrDuartePT that is what my patch does. For files to be automatically copied to the srcdir they need to be included as a source.
Pinned Comments
MrDuartePT commented on 2023-04-29 22:08 (UTC) (edited on 2023-04-29 22:08 (UTC) by MrDuartePT)
if you disto dosent patch the kernel with the module pls install lenovolegionlinux-dkms-git NOTE: For now only CachyOS does
MrDuartePT commented on 2023-04-28 00:09 (UTC) (edited on 2023-04-29 22:09 (UTC) by MrDuartePT)
@ptr1337 is done Now dkms package is: lenovolegionlinux-dkms-git