Skip to content

Instantly share code, notes, and snippets.

@gardotd426
Last active February 5, 2022 03:20
Show Gist options
  • Save gardotd426/f03cf227fede8a81b7c2352eb5e98c01 to your computer and use it in GitHub Desktop.
Save gardotd426/f03cf227fede8a81b7c2352eb5e98c01 to your computer and use it in GitHub Desktop.
Yay API fix script, just run the script and it'll clone the yay-git AUR repo, replace the PKGBUILD with an updated one adding the PR, builds and installs it using makepkg
#!/bin/bash
mkdir yay-git && cd yay-git
wget -O PKGBUILD https://gist.githubusercontent.com/gardotd426/357ae4461e58f21ee95a5f2ed9252064/raw/08e783b503bbd78f322523d3a5ac6c1f83e1b585/PKGBUILD
wget -O AUR-API-fix.patch https://gist.githubusercontent.com/gardotd426/27ac730a31adc76b170a32d6c3bd1729/raw/4d9674d99f29122b8828ba55fc9b01c9a9f41874/AUR-API-fix.patch
makepkg -si
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment