QGIS/scripts/build_debian_package.sh

41 lines
1.4 KiB
Bash
Raw Normal View History

#!/usr/bin/env bash
2012-10-04 19:33:47 +02:00
###########################################################################
# build_debian_package.sh
# ---------------------
# Date : July 2007
# Copyright : (C) 2007 by Tim Sutton
2014-11-12 17:43:10 +01:00
# Email : tim at kartoza dot com
2012-10-04 19:33:47 +02:00
###########################################################################
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################
set -x
2018-06-21 12:19:05 +10:00
if [ -d $(pwd)/src ]
then
#src exists so we are prolly in the right dir
echo "good we are in qgis checkout dir!"
else
echo "You must run this from the top level qgis checkout dir!"
exit 1
fi
2018-06-21 12:19:05 +10:00
if [ -d $(pwd)/debian ]
then
2018-06-21 11:51:22 +10:00
cd debian || exit
svn update
cd ..
else
svn co https://svn.qgis.org/repos/qgis/trunk/debian
fi
export DEBFULLNAME="Tim Sutton"
export DEBEMAIL=tim@linfiniti.com
#dch -v 0.9.1+svn`date +%Y%m%d`
dch -v 0.9.2rc1
fakeroot dpkg-buildpackage -kAA4D3BA997626237