diff -urN kvirc-3.2.0.orig/debian/kvirc-data.install kvirc-3.2.0/debian/kvirc-data.install
--- kvirc-3.2.0.orig/debian/kvirc-data.install	2005-04-10 14:38:14.000000000 +0200
+++ kvirc-3.2.0/debian/kvirc-data.install	2005-04-10 14:40:49.000000000 +0200
@@ -13,4 +13,5 @@
 debian/tmp/usr/share/kvirc/*/themes/
 debian/tmp/usr/share/man/man1/kvirc.1
 debian/tmp/usr/share/mimelnk/text/x-kvs.desktop
-debian/tmp/usr/share/services/
+debian/tmp/usr/share/kvirc/*/services/
+
diff -urN kvirc-3.2.0.orig/debian/kvirc-data.postinst kvirc-3.2.0/debian/kvirc-data.postinst
--- kvirc-3.2.0.orig/debian/kvirc-data.postinst	2005-04-10 14:38:14.000000000 +0200
+++ kvirc-3.2.0/debian/kvirc-data.postinst	2005-04-10 14:41:40.000000000 +0200
@@ -2,4 +2,26 @@
 
 set -e
 
+case "$1" in
+    configure)
+        update-alternatives --quiet --install \
+                /usr/share/services/irc.protocol irc.protocol \
+                /usr/share/kvirc/3.2.0/services/irc.protocol 60
+        update-alternatives --quiet --install \
+                /usr/share/services/irc6.protocol irc6.protocol \
+                /usr/share/kvirc/3.2.0/services/irc6.protocol 60
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
 #DEBHELPER#
+
+exit 0
diff -urN kvirc-3.2.0.orig/debian/kvirc-data.prerm kvirc-3.2.0/debian/kvirc-data.prerm
--- kvirc-3.2.0.orig/debian/kvirc-data.prerm	2005-04-10 14:38:14.000000000 +0200
+++ kvirc-3.2.0/debian/kvirc-data.prerm	2005-04-10 14:41:40.000000000 +0200
@@ -2,4 +2,25 @@
 
 set -e
 
+case "$1" in
+    remove)
+        update-alternatives --quiet --remove irc.protocol \
+                /usr/share/kvirc/3.2.0/services/irc.protocol
+        update-alternatives --quiet --remove irc6.protocol \
+                /usr/share/kvirc/3.2.0/services/irc6.protocol
+        ;;
+
+    upgrade|deconfigure)
+        ;;
+
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
 #DEBHELPER#
+
+exit 0
diff -urN kvirc-3.2.0.orig/debian/rules kvirc-3.2.0/debian/rules
--- kvirc-3.2.0.orig/debian/rules	2005-04-10 14:38:14.000000000 +0200
+++ kvirc-3.2.0/debian/rules	2005-04-10 14:48:48.000000000 +0200
@@ -59,3 +59,8 @@
 	#	Change the name of the COPYING file to appease lintian
 	#
 	mv $(CURDIR)/debian/tmp/$(DEB_CONFIGURE_PREFIX)/share/kvirc/3.2.0/license/{COPYING,EULA}
+	
+	#
+	#       Move kde service files to a better position
+	#
+	mv $(CURDIR)/debian/tmp/$(DEB_CONFIGURE_PREFIX)/share/services $(CURDIR)/debian/tmp/$(DEB_CONFIGURE_PREFIX)/share/kvirc/3.2.0/
