|
a/packaging/debian/buildppa.sh |
|
b/packaging/debian/buildppa.sh |
|
... |
|
... |
3 |
# sudo apt-get install g++ gnupg dput lintian mini-dinstall yaclc bzr devscripts
|
3 |
# sudo apt-get install g++ gnupg dput lintian mini-dinstall yaclc bzr devscripts
|
4 |
# For the kio: (and kdesdk?)
|
4 |
# For the kio: (and kdesdk?)
|
5 |
# sudo apt-get install pkg-kde-tools cdbs
|
5 |
# sudo apt-get install pkg-kde-tools cdbs
|
6 |
|
6 |
|
7 |
RCLVERS=1.17.0
|
7 |
RCLVERS=1.17.0
|
8 |
PPAVERS=1
|
8 |
PPAVERS=0
|
9 |
|
9 |
|
10 |
case $RCLVERS in
|
10 |
case $RCLVERS in
|
11 |
[23]*) PPANAME=recollexp-ppa;;
|
11 |
[23]*) PPANAME=recollexp-ppa;;
|
12 |
1.14*) PPANAME=recoll-ppa;;
|
12 |
1.14*) PPANAME=recoll-ppa;;
|
13 |
*) PPANAME=recoll15-ppa;;
|
13 |
*) PPANAME=recoll15-ppa;;
|
|
... |
|
... |
16 |
####### QT4
|
16 |
####### QT4
|
17 |
debdir=debianrclqt4
|
17 |
debdir=debianrclqt4
|
18 |
series4="lucid maverick natty oneiric precise"
|
18 |
series4="lucid maverick natty oneiric precise"
|
19 |
|
19 |
|
20 |
rm -rf recoll-${RCLVERS}/debian
|
20 |
rm -rf recoll-${RCLVERS}/debian
|
21 |
cp -rp $debdir recoll-${RCLVERS}/debian
|
21 |
cp -rp ${debdir}/ recoll-${RCLVERS}/debian
|
22 |
|
22 |
|
23 |
for series in $series4 ; do
|
23 |
for series in $series4 ; do
|
24 |
if test -f $debdir/control-$series ; then
|
24 |
if test -f $debdir/control-$series ; then
|
25 |
cp -f -p $debdir/control-$series recoll-${RCLVERS}/debian/control
|
25 |
cp -f -p $debdir/control-$series recoll-${RCLVERS}/debian/control
|
26 |
else
|
26 |
else
|
|
... |
|
... |
40 |
seriesk="lucid maverick natty oneiric precise"
|
40 |
seriesk="lucid maverick natty oneiric precise"
|
41 |
seriesk=""
|
41 |
seriesk=""
|
42 |
|
42 |
|
43 |
debdir=debiankio
|
43 |
debdir=debiankio
|
44 |
rm -rf recoll-${RCLVERS}/debian
|
44 |
rm -rf recoll-${RCLVERS}/debian
|
45 |
cp -rp $debdir recoll-${RCLVERS}/debian
|
45 |
cp -rp ${debdir}/ recoll-${RCLVERS}/debian
|
46 |
for series in $seriesk ; do
|
46 |
for series in $seriesk ; do
|
47 |
sed -e s/SERIES/$series/g < ${debdir}/changelog > \
|
47 |
sed -e s/SERIES/$series/g < ${debdir}/changelog > \
|
48 |
recoll-${RCLVERS}/debian/changelog ;
|
48 |
recoll-${RCLVERS}/debian/changelog ;
|
49 |
(cd recoll-${RCLVERS};debuild -S -sa) || break
|
49 |
(cd recoll-${RCLVERS};debuild -S -sa) || break
|
50 |
dput $PPANAME kio-recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes
|
50 |
dput $PPANAME kio-recoll_${RCLVERS}-0~ppa${PPAVERS}~${series}1_source.changes
|