summaryrefslogtreecommitdiff
path: root/packaging/ng/buildscripts/wallet-build.sh
blob: 029d90a63941e924883751a0baf187e8270d2822 (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
28
29
30
31
#!/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 *
git clone git://git.taler.net/wallet-core

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


cp /build/wallet-core/packages/*.deb /pkgdir/