summaryrefslogtreecommitdiff
path: root/packaging/debian-docker/sync-build.sh
blob: 2f5d9dfd80a655b15282dd04583528eadd6f37d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 ..