summaryrefslogtreecommitdiff
path: root/packaging/debian-docker/wallet-build.sh
blob: f8ad8d49177994326a89aa462e26b8d26667b916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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 wallet-core
git clone git://git.taler.net/wallet-core

cd wallet-core
./bootstrap
./configure --prefix=/usr
make install
dpkg-buildpackage -rfakeroot -b -uc -us
cd ..

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