ubuntu_ppa 412 Bytes
Newer Older
1 2
#! /bin/bash

3 4
version="2.4"
rsync -av --delete --exclude=.git ~/git/qgroundcontrol/ ~/tmp/qgroundcontrol-${version}/
5

6 7
cd ~/tmp
tar pczf qgroundcontrol_${version}.orig.tar.gz qgroundcontrol-${version}
8

9
cd ~/tmp/qgroundcontrol-${version}/
10
debuild -S
11

12 13
dput ppa:qgroundcontrol/ppa qgroundcontrol_${version}-0ubuntu1_source.changes

14 15 16


# test building the source deb locally
17
debuild --prepend-path=/usr/lib/ccache -sa