blob: 4be1b3aea4925f86684066fe2d0cda7846a58d0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
echo "BUILDING: $PACKAGE_NAME"
echo "Build Deps: $BUILD_ALL_AUR_DEPENDS"
cd /workdir || exit 1
while read NAME BASE VER _; do
echo $NAME $BASE $VER
sudo -u aurbuilder git clone "https://aur.archlinux.org/$BASE.git" "$BASE"
cd "$BASE" || exit 1
# TODO: PKGDEST instead of copy
sudo -u aurbuilder makepkg --syncdeps --noconfirm --install
cp ./*.pkg.tar.zst /pkgout
done <<< "$(getpackage.py "$PACKAGE_NAME")"
|