summaryrefslogtreecommitdiff
path: root/packaging/debian-docker/merchant-build.sh
blob: 24f5f9d672a43a0998093a5d1883ae157761a33a (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
#!/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/taler
cd /build/taler

# Fetch source
rm -rf *

# pip3 install --break-system-packages htmlark

git clone git://git.taler.net/merchant
cd merchant
git checkout $1
./bootstrap
dpkg-buildpackage -rfakeroot -b -uc -us
cd ..
dpkg -i *.deb

tar uvf ../packages.tgz *.deb
cd ..