ubuntu_ppa 412 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#! /bin/bash

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

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

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

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



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