#!/bin/sh # This file is in the public domain. # Helper script to build the latest DEB packages in the container. set -eu unset LD_LIBRARY_PATH mkdir -p /build/gnunet cd /build/gnunet # Fetch source rm -rf * pip3 install --break-system-packages sphinx-book-theme sphinx-multiversion for n in gnunet do git clone git://git.gnunet.org/$n cd $n git checkout $1 ./bootstrap dpkg-buildpackage -rfakeroot -b -uc -us cd .. dpkg -i *.deb done tar cvf ../packages.tgz *.deb cd ..