Last active
August 4, 2023 02:17
Revisions
-
Swyter revised this gist
Aug 4, 2023 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ pkgname=steamdeck-gyrodsu pkgver=1.0.0 pkgrel=2 pkgdesc="A tool for enabling gyroscopic controls on Steam Deck." arch=('x86_64') url="https://github.com/kmicki/SteamDeckGyroDSU" @@ -14,11 +14,13 @@ sha256sums=('SKIP') build() { unzip -o "${srcdir}/SteamDeckGyroDSUSetup.zip" sed -i 's|ExecStart=%h/sdgyrodsu/sdgyrodsu|ExecStart=/usr/bin/sdgyrodsu|' "${srcdir}/SteamDeckGyroDSUSetup/sdgyrodsu.service" sed -i 's|GROUP="usbaccess"|MODE="0666"|' "${srcdir}/SteamDeckGyroDSUSetup/51-deck-controls.rules" } package() { mkdir -p "${pkgdir}/usr/bin" mkdir -p "${pkgdir}/usr/lib/systemd/system" cp "${srcdir}/SteamDeckGyroDSUSetup/sdgyrodsu" "${pkgdir}/usr/bin/sdgyrodsu" install -Dm 644 "${srcdir}/SteamDeckGyroDSUSetup/51-deck-controls.rules" "${pkgdir}/etc/udev/rules.d/51-deck-controls.rules" install -Dm 644 "${srcdir}/SteamDeckGyroDSUSetup/sdgyrodsu.service" "${pkgdir}/usr/lib/systemd/system/" } -
Swyter created this gist
Aug 4, 2023 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ # Maintainer: Anastasios Vacharakis <archlinux@vacharakis.de> pkgname=steamdeck-gyrodsu pkgver=1.0.0 pkgrel=1 pkgdesc="A tool for enabling gyroscopic controls on Steam Deck." arch=('x86_64') url="https://github.com/kmicki/SteamDeckGyroDSU" license=('MIT') depends=('unzip') source=("https://github.com/kmicki/SteamDeckGyroDSU/releases/latest/download/SteamDeckGyroDSUSetup.zip") sha256sums=('SKIP') build() { unzip -o "${srcdir}/SteamDeckGyroDSUSetup.zip" sed -i 's|ExecStart=%h/sdgyrodsu/sdgyrodsu|ExecStart=/usr/bin/sdgyrodsu|' "${srcdir}/SteamDeckGyroDSUSetup/sdgyrodsu.service" } package() { mkdir -p "${pkgdir}/usr/bin" mkdir -p "${pkgdir}/usr/lib/systemd/system" cp "${srcdir}/SteamDeckGyroDSUSetup/sdgyrodsu" "${pkgdir}/usr/bin/sdgyrodsu" cp "${srcdir}/SteamDeckGyroDSUSetup/sdgyrodsu.service" "${pkgdir}/usr/lib/systemd/system/" }