summaryrefslogtreecommitdiff
path: root/build_debian.bash
diff options
context:
space:
mode:
Diffstat (limited to 'build_debian.bash')
-rwxr-xr-xbuild_debian.bash19
1 files changed, 19 insertions, 0 deletions
diff --git a/build_debian.bash b/build_debian.bash
new file mode 100755
index 0000000..79dfc17
--- /dev/null
+++ b/build_debian.bash
@@ -0,0 +1,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