22 lines
314 B
Bash
Executable File
22 lines
314 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -n "$DEP" ]
|
|
then
|
|
if [ "$DEP" = "testing" ]
|
|
then
|
|
/scripts/testing.sh
|
|
fi
|
|
fi
|
|
|
|
if [ -z "$REPO" ]
|
|
then
|
|
/bin/bash
|
|
exit $?;
|
|
fi
|
|
|
|
# Clone the git repo
|
|
git clone "$REPO" /home/user/pkg
|
|
cd /home/user/pkg
|
|
makepkg -smf --noconfirm --noprogressbar --skippgpcheck --noarchive
|
|
exit $?;
|