File: 05-build

package info (click to toggle)
debocker 0.2.6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 152 kB
  • sloc: python: 557; sh: 56; makefile: 19
file content (27 lines) | stat: -rwxr-xr-x 469 bytes parent folder | download | duplicates (5)
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/bash
#
# builds package
#

echo "== STAGE 04 (building package) =="

set -eux

source /root/source/buildinfo

echo "Build flags: ${flags}"

cd /root/source/build

# TODO: also store stderr?
dpkg-buildpackage ${flags} | tee /root/source/build.log

cd /root/source
name=$(basename --suffix .dsc *.dsc)
mv build.log ${name}.build

echo "+++ lintian output +++"
lintian --pedantic --display-info *.changes
echo "+++ end of lintian output +++"

echo "== ENDSTAGE =="