summaryrefslogtreecommitdiff
path: root/build_debian.bash
blob: 79dfc174e15f273a30b7f43ca569802d244040bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

VERSION=0.4

rm -rf pkg
rake package
cd pkg
mv feed2imap-$VERSION.tgz feed2imap_$VERSION.orig.tar.gz
cd feed2imap-$VERSION
cp -r ../../debian .
rm -rf debian/.svn
dpkg-buildpackage -rfakeroot
cd ..

dpkg-scanpackages . /dev/null >Packages
dpkg-scansources . /dev/null >Sources
gzip Packages
gzip Sources
rm -rf feed2imap-$VERSION