2021-02-28 06:23:28 +01:00
|
|
|
cd /packages
|
2021-03-05 05:06:42 +01:00
|
|
|
|
|
|
|
for pkg in "$@"
|
2021-02-28 06:23:28 +01:00
|
|
|
do
|
2021-03-05 10:16:42 +01:00
|
|
|
make -j16 $pkg.pkg.tar.gz
|
2021-02-28 06:23:28 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
cd /repo
|
|
|
|
./mkindex.sh
|
|
|
|
|
2021-02-28 10:18:27 +01:00
|
|
|
curl -s http://piston_api:6969/repos -XPOST -d "slug=local&url=file:///repo/index.yaml" || echo "WARNING: Could not add repository"
|