Codebase list i3-gaps / 36cd905 travis / debian-build.sh
36cd905

Tree @36cd905 (Download .tar.gz)

debian-build.sh @36cd905raw · history · blame

#!/bin/sh

set -e
set -x

DEST=$1

mkdir -p build
cd build
../configure
make echo-version > ../I3_VERSION
make dist-bzip2
# unpack dist tarball
mkdir -p "${DEST}"
tar xf *.tar.bz2 -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