path: root/PKGBUILD
diff options
authorWouter Wijsman2019-12-08 01:30:00 +0100
committerWouter Wijsman2019-12-08 01:30:00 +0100
commite4d0ec7125df8f76316c3fbe97d54451fd4bd610 (patch)
tree02ffd89da8388bca74fed41c6ef35038f6196993 /PKGBUILD
Initial release of alienware-alpha-wmi
This package allows Alienware Alpha owners to change the color of the lights on their system. For this they can either use the included script or run Steam in SteamOS mode.
Diffstat (limited to 'PKGBUILD')
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a8b87749ce0
--- /dev/null
@@ -0,0 +1,23 @@
+# Maintainer: Wouter Wijsman <>
+pkgdesc="A simple script for controlling the lights on the Alienware Alpha/Steam Machine taken from SteamOS"
+package() {
+ cd "${srcdir}/steamos-base-files-${pkgver}" || exit 2
+ install -D -m 644 debian/copyright "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -D usr/bin/ "$pkgdir/usr/bin/"
+ # Sudo configuration needed for Steam in SteamOS mode
+ # Don't use a group, since Steam can be used by any user
+ sed -i "s/steam/ALL/" etc/sudoers.d/alienware_wmi_control
+ install -D -m 400 etc/sudoers.d/alienware_wmi_control "$pkgdir/etc/sudoers.d/alienware_wmi_control"