Last active
August 3, 2017 10:19
-
-
Save misraX/52cd9449641e4308b1669c7e78c2ff43 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
# Created By: misraX | |
# Github: github.com/misrax | |
# License: MIT | |
# For the purpose of testing and individual usage | |
# The purpose of using it is to solve the dependancies problem and the manual installion of every needed package. | |
# The script consider that you are already in the desired build directory just feed the array with the desired package or packages | |
# And let it automat the automat :D, | |
# NOTICE: Some packages may fail if it depends on another package. | |
PACKAGES_NEEDED=('$1') | |
for PACKAGE in $PACKAGES_NEEDED; do | |
if [ ! -d $PACKAGE ]; then | |
git clone "https://aur.archlinux.org/$PACKAGE.git" | |
else | |
cd $PACKAGE | |
makepkg -si --noconfirm | |
cd - | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment