aboutsummaryrefslogtreecommitdiff
path: root/travis/debian-build.sh
blob: 6e66155a0a85f8dd3343ffcd36a1ec2f170f9506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e
set -x

DEST=$1

cd distbuild
# unpack dist tarball
mkdir -p "${DEST}"
tar xf meson-dist/*.tar.xz -C "${DEST}" --strip-components=1
cp -r ../debian "${DEST}"
sed -i '/^\s*libxcb-xrm-dev/d' deb/ubuntu-*/DIST/debian/control || true
cd "${DEST}"
debchange -m -l+g$(git describe --tags) 'Automatically built'
dpkg-buildpackage -b