1
by Jonathan Wiltshire
Import upstream version 0.9.4 |
1 |
#!/bin/bash
|
2 |
||
3 |
for i in common gnome kde4; do |
|
1.1.4
by Jonathan Wiltshire
Import upstream version 0.9.24 |
4 |
PKGNAME=`cat $i/debian_specific/control | grep "Package:" | cut -d" " -f2` |
5 |
PKGVER=`cat $i/debian_specific/control | grep "Version:" | cut -d" " -f2` |
|
6 |
PKGARCH=`cat $i/debian_specific/control | grep "Architecture:" | cut -d" " -f2` |
|
1
by Jonathan Wiltshire
Import upstream version 0.9.4 |
7 |
|
8 |
echo $PKGNAME $PKGVER $PKGARCH |
|
9 |
||
1.1.3
by Jonathan Wiltshire
Import upstream version 0.9.22.1 |
10 |
rm -rf tmp |
1.1.5
by Jonathan Wiltshire
Import upstream version 0.9.26 |
11 |
mkdir -p tmp |
1
by Jonathan Wiltshire
Import upstream version 0.9.4 |
12 |
|
1.1.4
by Jonathan Wiltshire
Import upstream version 0.9.24 |
13 |
cd $i |
14 |
./configure |
|
15 |
make DESTDIR=../tmp install |
|
16 |
cd ..
|
|
1.1.5
by Jonathan Wiltshire
Import upstream version 0.9.26 |
17 |
|
18 |
#update control
|
|
19 |
mkdir -p tmp/DEBIAN |
|
20 |
cp $i/debian_specific/control tmp/DEBIAN/control
|
|
21 |
echo "Installed-Size: `du -sk tmp | cut -f1`" >> tmp/DEBIAN/control |
|
22 |
||
23 |
cp $i/debian_specific/postrm tmp/DEBIAN/postrm
|
|
24 |
||
1.1.3
by Jonathan Wiltshire
Import upstream version 0.9.22.1 |
25 |
dpkg --build tmp/ $PKGNAME-${PKGVER}_$PKGARCH.deb |
1.1.5
by Jonathan Wiltshire
Import upstream version 0.9.26 |
26 |
|
1.1.3
by Jonathan Wiltshire
Import upstream version 0.9.22.1 |
27 |
rm -rf tmp |
1
by Jonathan Wiltshire
Import upstream version 0.9.4 |
28 |
done
|
29 |