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

VERSION=0.5

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