mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
fdfe521470
* fix build * add sdk readme * reload udev rules * add libtrueforce userspace library * correct subsystem is hidraw * add TRUEFORCE_PROTOCOL to docs * Update anda/lib/libtrueforce/libtrueforce.spec Co-authored-by: hamachitan[bot] <252235638+hamachitan[bot]@users.noreply.github.com> Signed-off-by: Luan Vitor Simião Oliveira <luanv.oliveira@outlook.com> * fix changelog messages * add missing packager lines * add missing requires for systemd-rpm-macros * move udev rule to kmod as proton can access it too * include script to setup trueforce on a proton prefix * fix build * fix build * fix changelog entries --------- Signed-off-by: Luan Vitor Simião Oliveira <luanv.oliveira@outlook.com> Co-authored-by: hamachitan[bot] <252235638+hamachitan[bot]@users.noreply.github.com>
10 lines
502 B
Plaintext
10 lines
502 B
Plaintext
let c = sh("cat anda/system/logitech-rs50-linux-driver/kmod-common/logitech-rs50-linux-driver.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout;
|
|
c.pop();
|
|
rpm.global("commit", c);
|
|
if rpm.changed() {
|
|
rpm.release();
|
|
let d = sh("cat anda/system/logitech-rs50-linux-driver/kmod-common/logitech-rs50-linux-driver.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout;
|
|
d.pop();
|
|
rpm.global("commitdate", d);
|
|
}
|