diff --git a/Arch-Manjaro/aur.sh b/Arch-Manjaro/aur.sh new file mode 100644 index 0000000..4e306d0 --- /dev/null +++ b/Arch-Manjaro/aur.sh @@ -0,0 +1,6 @@ +sudo echo +cd ~/Downloads +git clone https://aur.archlinux.org/"$1".git +cd "$1" +sudo yes | makepkg -si && cd ..; rm -rf ""$1"" +notify-send """$1"" installed!" diff --git a/README.md b/README.md index 8bdc0ea..e409db2 100644 --- a/README.md +++ b/README.md @@ -1 +1,11 @@ -# linuxShortcuts \ No newline at end of file +# linuxShortcuts + +## Arch-Manjaro +### Aur.sh +This is not an automated script, but just a shorcut to `git clone` inside de Download folder, `makepkg -si` and delete the created structure. + +**Recommended**: include in your `~/.bashrc` the following line: `alias aur='source ~/aur.sh'` + +**Usage**: find your package on aur website and just type `aur name-of-package`. + +**Example**: for `visual-studio-code-bin` just type `aur visual-studio-code-bin`. It will ask for your root password and it will install it with all dependencies.