summaryrefslogtreecommitdiffstats
path: root/builddeb
diff options
context:
space:
mode:
Diffstat (limited to 'builddeb')
-rwxr-xr-xbuilddeb13
1 files changed, 13 insertions, 0 deletions
diff --git a/builddeb b/builddeb
new file mode 100755
index 0000000..5633130
--- /dev/null
+++ b/builddeb
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+vers=`cat B/DEBIAN/control | grep Version | sed s/'Version: '//`
+
+make install DESTDIR=`pwd`/B &&
+strip B/usr/bin/ksquirrel &&
+strip B/usr/bin/ksquirrel-libs-configurator-real &&
+strip B/usr/lib/kde3/libksquirrelpart.so &&
+dpkg-deb -b B ksquirrel_${vers}_i386.deb &&
+rm -rf B/usr &&
+echo
+ls -l ksquirrel_${vers}_i386.deb
+echo \ No newline at end of file