summaryrefslogtreecommitdiff
path: root/packaging/debian-docker/wallet-build.sh
blob: 66f24375573acb912ebdfbef14910a946aa37abb (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

mkdir -p /build/wallet
cd /build/wallet

# Fetch source
rm -rf *
git clone git://git.taler.net/wallet-core

cd wallet-core
git checkout $1
./bootstrap
./configure --prefix=/usr
cd packages/taler-wallet-cli
./configure --prefix=/usr
make install
dpkg-buildpackage -rfakeroot -b -uc -us
cd ../

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

cd ../../..