mirror of https://github.com/Chizi123/Arch-autobuild-repo.git

Joel Grunbaum
2020-09-16 f11bfdf59da8a87bf4db7e79e87e921a40a25138
main.sh
@@ -2,16 +2,7 @@
#A basic bash script to automate the building of arch packages
# Usage: main.sh init|add|build_all [-f force]
REPODIR=/repo/x86_64
BUILDDIR=/repo/build
REPONAME=
UPDATE=N
CLEAN=N
SIGN=N
KEY=""
NUM_OLD=5
export PACKAGER="John Doe <jd@change.me>"
EMAIL=""
source vars.sh
ERRORS=""
@@ -112,7 +103,7 @@
   cd $BUILDDIR
   git clone https://aur.archlinux.org/$1.git
   cd $1
   build_pkg $1 new
   build_pkg $1 new -f
   return 0
}
@@ -176,5 +167,5 @@
      fi
      ;;
   *)
      printf "Invalid usage\nUsage: $0 init|add|build_all\n";;
      printf "Invalid usage\nUsage: $0 init|add|build-all\n";;
esac