gnunet-gtk-build.sh (434B)
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 for n in gnunet-gtk 15 do 16 git clone git://git.gnunet.org/$n 17 cd $n 18 git checkout $1 19 ./bootstrap 20 dpkg-buildpackage -rfakeroot -b -uc -us 21 cd .. 22 dpkg -i *.deb 23 done 24 25 tar uvf ../packages.tgz *.deb 26 27 cd ..