Package Details: tuxedo-backlight-control-git 0.7.r9.g05940fb-1

Git Clone URL: https://aur.archlinux.org/tuxedo-backlight-control-git.git (read-only, click to copy)
Package Base: tuxedo-backlight-control-git
Description: GUI utility built on top of TUXEDO Keyboard. Provides a bash CLI (backlight) and a minimal Python UI.
Upstream URL: https://github.com/webketje/tuxedo-backlight-control
Licenses: MIT
Submitter: nigeljordan
Maintainer: None
Last Packager: nigeljordan
Votes: 1
Popularity: 0.068560
First Submitted: 2020-10-18 10:13
Last Updated: 2020-10-25 15:23

Latest Comments

jrd commented on 2021-01-14 09:25

Bien vu !

BeatLimeBorg commented on 2021-01-13 19:21

The location of the license file in this PKGBUILD is really generic. It conflicts with another package I have installed. After inspecting the contents of /usr/share/licenses/ I suggest to apply this patch:

diff --git a/PKGBUILD b/PKGBUILD
index 7c910f0..3d0c57c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,5 +28,5 @@ package() {
   install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/backlight_control.py" "${pkgdir}/usr/share/tuxedo-backlight-control/backlight_control.py"
   install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/icon.png" "${pkgdir}/usr/share/tuxedo-backlight-control/icon.png"
   install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/colors.py" "${pkgdir}/usr/share/tuxedo-backlight-control/colors.py"
-  install -D "${srcdir}/tuxedo-backlight-control/LICENSE" "${pkgdir}/usr/share/licenses/LICENSE"
+  install -D "${srcdir}/tuxedo-backlight-control/LICENSE" "${pkgdir}/usr/share/licenses/tuxedo-backlight-control/LICENSE"
 }

jrd commented on 2020-11-11 21:51

My patch for making CLI works:

diff --git a/PKGBUILD b/PKGBUILD
index 7c910f0..f2369fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,14 +19,15 @@ pkgver() {
 }

 package() {
-  mkdir -p "${pkgdir}/usr/share/tuxedo-backlight-control/"
-  install -Dm644 "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/backlight.py" "${pkgdir}/usr/local/bin/backlight"
+  mkdir -p "${pkgdir}/usr/share/tuxedo-backlight-control/" "${pkgdir}/usr/bin"
   install -Dm644 "${srcdir}/tuxedo-backlight-control/src/usr/share/polkit-1/actions/webketje.tuxedo-backlight-control.policy" "${pkgdir}/usr/share/polkit-1/actions/webketje.tuxedo-backlight-control.policy"
   install -Dm644 "${srcdir}/tuxedo-backlight-control/src/usr/share/applications/tuxedo-backlight-control.desktop" "${pkgdir}/usr/share/applications/tuxedo-backlight-control.desktop"
-  install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/ui.py" "${pkgdir}/usr/share/tuxedo-backlight-control/ui.py"
-  install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/backlight.py" "${pkgdir}/usr/share/tuxedo-backlight-control/backlight.py"
-  install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/backlight_control.py" "${pkgdir}/usr/share/tuxedo-backlight-control/backlight_control.py"
-  install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/icon.png" "${pkgdir}/usr/share/tuxedo-backlight-control/icon.png"
-  install -D "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/colors.py" "${pkgdir}/usr/share/tuxedo-backlight-control/colors.py"
-  install -D "${srcdir}/tuxedo-backlight-control/LICENSE" "${pkgdir}/usr/share/licenses/LICENSE"
+  install -Dm755 "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/ui.py" "${pkgdir}/usr/share/tuxedo-backlight-control/ui.py"
+  install -Dm755 "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/backlight.py" "${pkgdir}/usr/share/tuxedo-backlight-control/backlight.py"
+  install -Dm644 "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/backlight_control.py" "${pkgdir}/usr/share/tuxedo-backlight-control/backlight_control.py"
+  install -Dm644 "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/icon.png" "${pkgdir}/usr/share/tuxedo-backlight-control/icon.png"
+  install -Dm644 "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/colors.py" "${pkgdir}/usr/share/tuxedo-backlight-control/colors.py"
+  install -Dm644 "${srcdir}/tuxedo-backlight-control/src/usr/share/tuxedo-backlight-control/help.txt" "${pkgdir}/usr/share/tuxedo-backlight-control/help.txt"
+  install -Dm644 "${srcdir}/tuxedo-backlight-control/LICENSE" "${pkgdir}/usr/share/licenses/LICENSE"
+  ln -s "/usr/share/tuxedo-backlight-control/backlight.py" "${pkgdir}/usr/bin/backlight"
 }

nigeljordan commented on 2020-10-18 10:39

A new git package!