anastasis-build.sh (452B)
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/anastasis 9 cd /build/anastasis 10 11 # Fetch source 12 rm -rf * 13 14 for n in anastasis anastasis-gtk 15 do 16 git clone git://git.taler.net/$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 ..