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

Joel Grunbaum
2020-09-14 8c5114a2358d104a61d5ac0b913f0a049321dae9
Made variables folder
2 files modified
1 files added
23 ■■■■ changed files
README.org 2 ●●● patch | view | raw | blame | history
main.sh 11 ●●●●● patch | view | raw | blame | history
vars.sh 10 ●●●●● patch | view | raw | blame | history
README.org
@@ -27,4 +27,4 @@
# - Multiple packages from a single PKGBUILD :: Some PKGBUILDs can create many packages at once, currently I am unable to handle this.
- AUR dependency checking and automatic resolution :: Something like what aurutils does, maybe I can steal it from there
- Error catching for builds which fail. :: Have emailing, but nothing more advanced. Would be nice to have some basic error handling in the script
- Create a universal variables file :: Not sure how useful this would be, but could be nice
# - Create a universal variables file :: Not sure how useful this would be, but could be nice
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=""
vars.sh
New file
@@ -0,0 +1,10 @@
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=""