builder/post-receive
2017-11-21 17:41:40 +03:00

13 lines
306 B
Bash
Executable File

#!/usr/bin/env bash
PATH+=":/usr/local/bin:$HOME/.local/bin"
self="${PWD##*/}"; self="${self%.git}"
self_url="https://pkg.fleshless.org/$self"
spark_repo=$(<spark.repo)
spark_repo_path="$HOME/public/$spark_repo"
suex makepkg-overlay "$self_url" "$spark_repo_path/import"
repo-maintenance "$spark_repo"