summaryrefslogtreecommitdiff
path: root/packaging/ubuntu-docker/sync-build.sh
blob: 342a702ef202b5c610bb08431ae16df9f2ad045b (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
#!/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 sync
git clone git://git.taler.net/sync

for n in sync
do
    cd $n
    ./bootstrap
    dpkg-buildpackage -rfakeroot -b -uc -us
    cd ..
    dpkg -i *.deb
done

rm -f packages.tgz
tar cvf packages.tgz *.deb