#!/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 cd /build # Fetch source rm -rf * git clone git://git.taler.net/wallet-core cd wallet-core git checkout $1 ./bootstrap ./configure --prefix=/usr make cd packages/taler-wallet-cli ./configure --prefix=/usr make install dpkg-buildpackage -rfakeroot -b -uc -us cd ../taler-harness ./configure --prefix=/usr make install dpkg-buildpackage -rfakeroot -b -uc -us cd .. cp /build/wallet-core/packages/*.deb /pkgdir/