gnunet-build.sh (506B)
1 #!/bin/sh 2 # This file is in the public domain. 3 # Helper script to build the latest DEB packages in the container. 4 5 set -eu 6 unset LD_LIBRARY_PATH 7 8 mkdir -p /build/gnunet 9 cd /build/gnunet 10 11 # Fetch source 12 rm -rf * 13 14 pip3 install --break-system-packages sphinx-book-theme sphinx-multiversion 15 16 for n in gnunet 17 do 18 git clone git://git.gnunet.org/$n 19 cd $n 20 git checkout $1 21 ./bootstrap 22 dpkg-buildpackage -rfakeroot -b -uc -us 23 cd .. 24 dpkg -i *.deb 25 done 26 27 tar cvf ../packages.tgz *.deb 28 29 cd ..