Not working anymore
==> Starting package()...
install: cannot stat '/usr/share/licenses/common/GPL2/license.txt': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
error: failed to build 'clevo-xsm-wmi-1.1-3':
error: can't build clevo-xsm-wmi-util-1.1-1, deps not satisfied: clevo-xsm-wmi
error: packages failed to build: clevo-xsm-wmi-1.1-3
removing
install -D -m644 /usr/share/licenses/common/GPL2/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
fixes the issue
Pinned Comments
mrozanc commented on 2019-04-04 18:53 (UTC) (edited on 2019-04-04 18:53 (UTC) by mrozanc)
Sorry for the late reply mjtarch, I have a lot to do these times and I don't use my clevo laptop much.
The upstream project is abandonned as stated on the bitbucket page (https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi -> https://bitbucket.org/tuxedocomputers/clevo-xsm-wmi/issues/44/the-status-and-the-future-of-tuxedo-clevo -> https://github.com/tuxedocomputers/tuxedo-keyboard).
If the replacement project don't support your hardware, you can still create a patch file for clevo-xsm-wmi.c using the diff command or git, then apply your patch as I did for P950ER in your modified PKGBUILD. Then you build the package using makepkg and install it with pacman -U.
I didn't have any feedbacks from users of the new modules, maybe is there no reason to continue this PKGBUILD?