diff --git a/README.md b/README.md index 46bfd8d..5cdf5b3 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,48 @@ To use the build scripts, grab the latest Spark rootfs in one of the following w * `curl -sL https://spark.fleshless.org/rootfs/latest.tar.xz | podman import - localhost/spark` * `git clone https://code.fleshless.org/Spark/spark-rootfs.git; cd spark-rootfs; podman build --rm -t localhost/spark .` -Then build a builder image from `./autobuilder`: `cd ./autobuilder; podman build --rm -t localhost/spark:autobuilder .` +Then build a builder image from `./autobuilder`: + * `cd ./autobuilder; podman build --rm -t localhost/spark:autobuilder .` -Examples: - * `git clone https://code.fleshless.org/PKGBUILDs/ssm-git /tmp/ssm-git; cd /tmp/ssm-git; makepkg-podman -sL` - * `makepkg-ci /tmp/artifacts; makepkg-ci https://code.fleshless.org/PKGBUILDs/ssm-git` +makepkg-podman +-------------- + +Builds Arch packages using `podman`. Takes the image name in the `PODMAN_IMAGE` env var. + +Usage: +``` +[PODMAN_IMAGE=] makepkg-podman [makepkg_args] +``` + +Example: +``` +git clone https://code.fleshless.org/PKGBUILDs/ssm-git /tmp/ssm-git +cd /tmp/ssm-git +makepkg-podman -sL +``` + +makepkg-ci +---------- + +Builds Arch packages from a git repo using `makepkg-podman` and puts the packages into `dest`. + +Usage: +``` +[PODMAN_IMAGE=] makepkg-ci +``` + +Example: +``` +makepkg-ci /tmp/artifacts https://code.fleshless.org/PKGBUILDs/ssm-git +``` + +pkgbuilder +---------- + +Tracks given git repos for changes and builds packages on updates. +`pkgbuilder.conf` goes into `$XDG_CONFIG_HOME/pkgbuilder/config` + +Usage: +``` +pkgbuilder +``` diff --git a/pkgbuilder.config b/pkgbuilder.config new file mode 100644 index 0000000..f1ed7fc --- /dev/null +++ b/pkgbuilder.config @@ -0,0 +1,16 @@ +# Example config for pkgbuilder + +spark_repos="$HOME/public" + +pkg_dests=( + [spark]="$spark_repos/spark/import" + [spark-extra]="$spark_repos/spark-extra/import" + [spark-testing]="$spark_repos/spark-testing/import" + [spark-updates]="$spark_repos/spark-updates/spark/import" +) + +repos=( + spark "https://code.fleshless.org/pkgbuilds/sinit-spark" + spark-extra "https://code.fleshless.org/pkgbuilds/anope-services" + spark-testing "https://code.fleshless.org/pkgbuilds/ssm-git" +)