summaryrefslogtreecommitdiff
path: root/packaging/debian-docker/taler-build.sh
blob: a7bfc62c3bbaa6d774053a81d0a5536af5d91686 (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
#!/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 exchange merchant
git clone git://git.taler.net/exchange
git clone git://git.taler.net/merchant

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

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