diff options
Diffstat (limited to 'packaging/debian-bookworm/sync-build.sh')
-rw-r--r-- | packaging/debian-bookworm/sync-build.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packaging/debian-bookworm/sync-build.sh b/packaging/debian-bookworm/sync-build.sh new file mode 100644 index 0000000..2f5d9df --- /dev/null +++ b/packaging/debian-bookworm/sync-build.sh @@ -0,0 +1,27 @@ +#!/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 + +rm -rf /build/sync + +mkdir -p /build/sync +cd /build/sync + +# Fetch source +for n in sync +do + git clone git://git.taler.net/$n + cd $n + git checkout $1 + ./bootstrap + dpkg-buildpackage -rfakeroot -b -uc -us + cd .. + dpkg -i *.deb +done + +tar uvf ../packages.tgz *.deb + +cd .. |