Last active
August 8, 2022 18:24
-
-
Save okb1100/a19e8f40613e24c221387949460d5919 to your computer and use it in GitHub Desktop.
#linux-stuff [aur build script]
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 characters
#!/bin/bash | |
# This script clones the git repo of the aur package | |
# Then executes makepkg -sri. Simple. | |
if [ -z "$1" ]; then | |
echo "Usage: ./aur.sh <pkgname>"; | |
exit 2; | |
fi | |
cd /tmp/; | |
git clone https://aur.archlinux.org/$1.git; | |
cd $1; | |
makepkg -sri; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment