diff -pruN 0.0.2012-06-kde4.8-2.1/debian/changelog 0.0.2012-06-kde4.8-2.1ubuntu1/debian/changelog
--- 0.0.2012-06-kde4.8-2.1/debian/changelog	2012-11-13 14:09:46.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/changelog	2012-11-13 14:09:47.000000000 +0000
@@ -1,3 +1,22 @@
+oxygencursors (0.0.2012-06-kde4.8-2.1ubuntu1) raring; urgency=low
+
+  * Merge from Debian unstable (LP: #1077842).  Remaining changes:
+    - Call dh_installdirs and rename debian/dirs to oxygen-cursor-theme.dirs so
+      it's actually used and /usr/share/icons/default/ is created.
+    - Renamed package to oxygen-cursor-theme (standard color schemes)
+    - Added package oxygen-cursor-theme-extra (other color schemes)
+    - Added dh_install to debian/rules
+    - Edit wrapperthemes.sh for multiple packages
+    - Hardcode the list of color schemes to (un)register as x-cursor-theme.
+      Using all installed oxygen schemes doesn't work well with the split
+      package.
+    - Move black, blue, yellow and zion to oxygen-cursor-theme. Those would be
+      installed by kde-workspace.
+  * Dropped Changes:
+    - Compress binary packages with xz.
+
+ -- Vibhav Pant <vibhavp@gmail.com>  Mon, 12 Nov 2012 22:09:11 +0100
+
 oxygencursors (0.0.2012-06-kde4.8-2.1) unstable; urgency=low
 
   * Non-maintainer upload.
@@ -5,6 +24,29 @@ oxygencursors (0.0.2012-06-kde4.8-2.1) u
 
  -- Ansgar Burchardt <ansgar@debian.org>  Sun, 05 Aug 2012 12:24:25 +0200
 
+oxygencursors (0.0.2012-06-kde4.8-2ubuntu2) quantal; urgency=low
+
+  * Call dh_installdirs and rename debian/dirs to oxygen-cursor-theme.dirs so
+    it's actually used and /usr/share/icons/default/ is created.
+
+ -- Felix Geyer <debfx@ubuntu.com>  Wed, 08 Aug 2012 16:08:09 +0200
+
+oxygencursors (0.0.2012-06-kde4.8-2ubuntu1) quantal; urgency=low
+
+  * Merge from Debian unstable, remaining changes:
+    - Renamed package to oxygen-cursor-theme (standard color schemes)
+    - Added package oxygen-cursor-theme-extra (other color schemes)
+    - Added dh_install to debian/rules
+    - Edit wrapperthemes.sh for multiple packages
+  * Compress binary packages with xz.
+  * Hardcode the list of color schemes to (un)register as x-cursor-theme.
+    Using all installed oxygen schemes doesn't work well with the split
+    package.
+  * Move black, blue, yellow and zion to oxygen-cursor-theme. Those would be
+    installed by kde-workspace.
+
+ -- Felix Geyer <debfx@ubuntu.com>  Wed, 01 Aug 2012 20:18:22 +0200
+
 oxygencursors (0.0.2012-06-kde4.8-2) unstable; urgency=low
 
   * Add myself to Uploaders.
@@ -21,6 +63,17 @@ oxygencursors (0.0.2012-06-kde4.8-1) uns
 
  -- Sune Vuorela <sune@debian.org>  Thu, 21 Jun 2012 00:11:11 +0200
 
+oxygencursors (0.0.2010-05-10-kde4.4.3-1ubuntu1) maverick; urgency=low
+
+  * Merge with Debian, remaining changes:
+    - Renamed package to oxygen-cursor-theme (white colour)
+    - Added package oxygen-cursor-theme-extra (all colours except white)
+    - Added dh_install to debian/rules
+    - Removed Depends, since there are no dependencies for cursor packages
+    - Edit wrapperthemes.sh for multiple packages
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Wed, 26 May 2010 16:15:20 +0000
+
 oxygencursors (0.0.2010-05-10-kde4.4.3-1) unstable; urgency=low
 
   * New upstream release based on kde 4.4.3 cursors.
@@ -29,6 +82,24 @@ oxygencursors (0.0.2010-05-10-kde4.4.3-1
 
  -- Sune Vuorela <sune@debian.org>  Tue, 18 May 2010 16:23:19 +0200
 
+oxygencursors (0.0.2008-07-07-svn824849-1ubuntu2) karmic; urgency=low
+
+  * Re-add debian/dirs once more (LP: #202444)
+
+ -- Harald Sitter <apachelogger@ubuntu.com>  Tue, 15 Sep 2009 13:04:22 +0200
+
+oxygencursors (0.0.2008-07-07-svn824849-1ubuntu1) jaunty; urgency=low
+
+  * Merge with Debian, remaining changes:
+    - Renamed package to oxygen-cursor-theme (white colour)
+    - Added package oxygen-cursor-theme-extra (all colours except white)
+    - Added dh_install to debian/rules
+    - Removed Depends, since there are no dependencies for cursor packages
+    - Removed debian/dirs (doesn't work with multiple packages)
+    - Edit wrapperthemes.sh for multiple packages
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Wed, 19 Nov 2008 16:44:40 +0000
+
 oxygencursors (0.0.2008-07-07-svn824849-1) unstable; urgency=low
 
   * New upstream snapshot - as released with kde4 rc1.
@@ -37,6 +108,38 @@ oxygencursors (0.0.2008-07-07-svn824849-
 
  -- Sune Vuorela <debian@pusling.com>  Thu, 10 Jul 2008 07:51:45 +0200
 
+oxygencursors (0.0.2008-01-27-a7b68163e7c8ccc1376-2ubuntu3) hardy; urgency=low
+
+  * Add back debian/dirs, its absense broke install when there are no
+    other cusor themes
+  * Remove depends on xcursor-themes
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Tue, 18 Mar 2008 00:22:31 +0000
+
+oxygencursors (0.0.2008-01-27-a7b68163e7c8ccc1376-2ubuntu2) hardy; urgency=low
+
+  * Add missing depends on xcursor-themes to oxygen-cursor-theme-extra
+    (LP: #202444).
+
+  [ Jonathan Patrick Davies ]
+  * Add missing depends on xcursor-themes to oxygen-cursor-theme.
+
+ -- Ilya Eremin <che_guevara_3@bk.ru>  Sun, 16 Mar 2008 16:25:21 +0000
+
+oxygencursors (0.0.2008-01-27-a7b68163e7c8ccc1376-2ubuntu1) hardy; urgency=low
+
+  * Merge Debian package with Ubuntu package from REVU
+    - Added package oxygen-cursor-theme-extra (includes all colors except white)
+    - Added xcursorgen as alternative to x11-apps as Build-Depends (for Gutsy)
+    - Added Homepage entry for the Oxygen Project
+    - Added dh_install to debian/rules
+    - Changed Maintainter to Ubuntu MOTU
+    - Renamed package to oxygen-cursor-theme (includes white color)
+    - Removed Depends, since there are no dependencies for cursor packages
+    - Removed debian/dirs (doesn't work with multiple packages)
+
+ -- Harald Sitter <apachelogger@ubuntu.com>  Tue, 12 Feb 2008 17:13:38 +0100
+
 oxygencursors (0.0.2008-01-27-a7b68163e7c8ccc1376-2) unstable; urgency=low
 
   * Fix a couple of more icon names.
@@ -50,3 +153,4 @@ oxygencursors (0.0.2008-01-27-a7b68163e7
     to Ruphy.
 
  -- Sune Vuorela <debian@pusling.com>  Sun, 27 Jan 2008 14:00:11 +0100
+
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/control 0.0.2012-06-kde4.8-2.1ubuntu1/debian/control
--- 0.0.2012-06-kde4.8-2.1/debian/control	2012-11-13 14:09:46.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/control	2012-11-13 14:09:47.000000000 +0000
@@ -1,17 +1,31 @@
 Source: oxygencursors
 Section: x11
 Priority: optional
-Maintainer: Sune Vuorela <sune@debian.org>
+Maintainer: Kubuntu Developers <kubuntu-devel@lists.ubuntu.com>
+XSBC-Original-Maintainer: Sune Vuorela <sune@debian.org>
 Uploaders: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
 Build-Depends: debhelper (>= 5.0.0),inkscape,x11-apps,quilt, cmake
 Standards-Version: 3.9.3
 
-Package: oxygencursors
+Package: oxygen-cursor-theme
 Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: oxygen-cursor-theme-extra
+Breaks: oxygen-cursor-theme-extra (<< 0.0.2012-06-kde4.8)
+Replaces: oxygen-cursor-theme-extra (<< 0.0.2012-06-kde4.8)
 Description: Oxygen mouse cursor theme
  This package contains the Oxygen cursor theme, 
  originally created for KDE 4. 
  . 
  The cursors are available in numerous colors to 
  match the style of any desktop.
+
+Package: oxygen-cursor-theme-extra
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, oxygen-cursor-theme
+Description: Oxygen mouse cursor theme - extra colors
+ This package contains the Oxygen cursor theme,  originally created for KDE 4. 
+ .
+ This package contains extra cursor colors: black, blue, brown,
+ emerald, green, grey, hot_orange, navy, red, red-argentina, purple
+ sea_blue, violet, viorange and yellow.
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/dirs 0.0.2012-06-kde4.8-2.1ubuntu1/debian/dirs
--- 0.0.2012-06-kde4.8-2.1/debian/dirs	2012-11-13 14:09:46.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/dirs	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-usr/share/icons/
-usr/share/icons/default
-etc/X11/cursors
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme.dirs 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme.dirs
--- 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme.dirs	1970-01-01 00:00:00.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme.dirs	2012-11-13 14:09:47.000000000 +0000
@@ -0,0 +1,3 @@
+usr/share/icons/
+usr/share/icons/default
+etc/X11/cursors
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme-extra.install 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme-extra.install
--- 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme-extra.install	1970-01-01 00:00:00.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme-extra.install	2012-11-13 14:09:47.000000000 +0000
@@ -0,0 +1,65 @@
+debian/tmp/etc/X11/cursors/oxy-bluecurve.theme
+debian/tmp/etc/X11/cursors/oxy-brown.theme
+debian/tmp/etc/X11/cursors/oxy-cherry.theme
+debian/tmp/etc/X11/cursors/oxy-chrome.theme
+debian/tmp/etc/X11/cursors/oxy-desert.theme
+debian/tmp/etc/X11/cursors/oxy-emerald.theme
+debian/tmp/etc/X11/cursors/oxy-green.theme
+debian/tmp/etc/X11/cursors/oxy-grey.theme
+debian/tmp/etc/X11/cursors/oxy-honeycomb.theme
+debian/tmp/etc/X11/cursors/oxy-hot_orange.theme
+debian/tmp/etc/X11/cursors/oxy-lilac.theme
+debian/tmp/etc/X11/cursors/oxy-midnight_meadow.theme
+debian/tmp/etc/X11/cursors/oxy-navy.theme
+debian/tmp/etc/X11/cursors/oxy-norway.theme
+debian/tmp/etc/X11/cursors/oxy-obsidian-hc.theme
+debian/tmp/etc/X11/cursors/oxy-obsidian.theme
+debian/tmp/etc/X11/cursors/oxy-olympus-inv.theme
+debian/tmp/etc/X11/cursors/oxy-olympus.theme
+debian/tmp/etc/X11/cursors/oxy-orchid.theme
+debian/tmp/etc/X11/cursors/oxy-oxygen.theme
+debian/tmp/etc/X11/cursors/oxy-peach.theme
+debian/tmp/etc/X11/cursors/oxy-purple.theme
+debian/tmp/etc/X11/cursors/oxy-red-argentina.theme
+debian/tmp/etc/X11/cursors/oxy-red.theme
+debian/tmp/etc/X11/cursors/oxy-sea_blue.theme
+debian/tmp/etc/X11/cursors/oxy-steel.theme
+debian/tmp/etc/X11/cursors/oxy-terra.theme
+debian/tmp/etc/X11/cursors/oxy-terra_green.theme
+debian/tmp/etc/X11/cursors/oxy-violet.theme
+debian/tmp/etc/X11/cursors/oxy-viorange.theme
+debian/tmp/etc/X11/cursors/oxy-whitewater.theme
+debian/tmp/etc/X11/cursors/oxy-wonton.theme
+
+debian/tmp/usr/share/icons/oxy-bluecurve
+debian/tmp/usr/share/icons/oxy-brown
+debian/tmp/usr/share/icons/oxy-cherry
+debian/tmp/usr/share/icons/oxy-chrome
+debian/tmp/usr/share/icons/oxy-desert
+debian/tmp/usr/share/icons/oxy-emerald
+debian/tmp/usr/share/icons/oxy-green
+debian/tmp/usr/share/icons/oxy-grey
+debian/tmp/usr/share/icons/oxy-honeycomb
+debian/tmp/usr/share/icons/oxy-hot_orange
+debian/tmp/usr/share/icons/oxy-lilac
+debian/tmp/usr/share/icons/oxy-midnight_meadow
+debian/tmp/usr/share/icons/oxy-navy
+debian/tmp/usr/share/icons/oxy-norway
+debian/tmp/usr/share/icons/oxy-obsidian
+debian/tmp/usr/share/icons/oxy-obsidian-hc
+debian/tmp/usr/share/icons/oxy-olympus
+debian/tmp/usr/share/icons/oxy-olympus-inv
+debian/tmp/usr/share/icons/oxy-orchid
+debian/tmp/usr/share/icons/oxy-oxygen
+debian/tmp/usr/share/icons/oxy-peach
+debian/tmp/usr/share/icons/oxy-purple
+debian/tmp/usr/share/icons/oxy-red
+debian/tmp/usr/share/icons/oxy-red-argentina
+debian/tmp/usr/share/icons/oxy-sea_blue
+debian/tmp/usr/share/icons/oxy-steel
+debian/tmp/usr/share/icons/oxy-terra
+debian/tmp/usr/share/icons/oxy-terra_green
+debian/tmp/usr/share/icons/oxy-violet
+debian/tmp/usr/share/icons/oxy-viorange
+debian/tmp/usr/share/icons/oxy-whitewater
+debian/tmp/usr/share/icons/oxy-wonton
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme-extra.postinst 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme-extra.postinst
--- 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme-extra.postinst	1970-01-01 00:00:00.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme-extra.postinst	2012-11-13 14:09:47.000000000 +0000
@@ -0,0 +1,50 @@
+#! /bin/sh
+# postinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+PRIORITY=30
+TARGET=/usr/share/icons/default/index.theme
+ICONDIR=/etc/X11/cursors
+
+THEMES="bluecurve brown cherry chrome desert emerald green grey honeycomb hot_orange lilac midnight_meadow"
+THEMES="$THEMES navy norway obsidian-hc obsidian olympus-inv olympus orchid oxygen peach purple red-argentina"
+THEMES="$THEMES red sea_blue steel terra terra_green violet viorange whitewater wonton"
+
+case "$1" in
+    configure)
+        for theme in $THEMES; do
+            update-alternatives --install $TARGET x-cursor-theme $ICONDIR/oxy-$theme.theme $PRIORITY
+        done
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme-extra.prerm 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme-extra.prerm
--- 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme-extra.prerm	1970-01-01 00:00:00.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme-extra.prerm	2012-11-13 14:09:47.000000000 +0000
@@ -0,0 +1,46 @@
+#! /bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+ICONDIR=/etc/X11/cursors
+
+THEMES="bluecurve brown cherry chrome desert emerald green grey honeycomb hot_orange lilac midnight_meadow"
+THEMES="$THEMES navy norway obsidian-hc obsidian olympus-inv olympus orchid oxygen peach purple red-argentina"
+THEMES="$THEMES red sea_blue steel terra terra_green violet viorange whitewater wonton"
+
+case "$1" in
+    remove|deconfigure)
+        for theme in $THEMES; do
+            update-alternatives --remove x-cursor-theme $ICONDIR/oxy-$theme.theme
+        done
+    ;;
+    upgrade)
+    ;;
+    failed-upgrade)
+    ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme.install 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme.install
--- 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme.install	1970-01-01 00:00:00.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme.install	2012-11-13 14:09:47.000000000 +0000
@@ -0,0 +1,11 @@
+debian/tmp/etc/X11/cursors/oxy-black.theme
+debian/tmp/etc/X11/cursors/oxy-blue.theme
+debian/tmp/etc/X11/cursors/oxy-white.theme
+debian/tmp/etc/X11/cursors/oxy-yellow.theme
+debian/tmp/etc/X11/cursors/oxy-zion.theme
+
+debian/tmp/usr/share/icons/oxy-black
+debian/tmp/usr/share/icons/oxy-blue
+debian/tmp/usr/share/icons/oxy-white
+debian/tmp/usr/share/icons/oxy-yellow
+debian/tmp/usr/share/icons/oxy-zion
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme.postinst 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme.postinst
--- 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme.postinst	1970-01-01 00:00:00.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme.postinst	2012-11-13 14:09:47.000000000 +0000
@@ -0,0 +1,49 @@
+#! /bin/sh
+# postinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+PRIORITY=40
+TARGET=/usr/share/icons/default/index.theme
+ICONDIR=/etc/X11/cursors
+
+THEMES="black blue yellow zion"
+
+case "$1" in
+    configure)
+        update-alternatives --install $TARGET x-cursor-theme $ICONDIR/oxy-white.theme 50
+        for theme in $THEMES; do
+            update-alternatives --install $TARGET x-cursor-theme $ICONDIR/oxy-$theme.theme $PRIORITY
+        done
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme.prerm 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme.prerm
--- 0.0.2012-06-kde4.8-2.1/debian/oxygen-cursor-theme.prerm	1970-01-01 00:00:00.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/oxygen-cursor-theme.prerm	2012-11-13 14:09:47.000000000 +0000
@@ -0,0 +1,45 @@
+#! /bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+ICONDIR=/etc/X11/cursors
+
+THEMES="white"
+THEMES="$THEMES black blue yellow zion"
+
+case "$1" in
+    remove|deconfigure)
+        for theme in $THEMES; do
+            update-alternatives --remove x-cursor-theme $ICONDIR/oxy-$theme.theme
+        done
+    ;;
+    upgrade)
+    ;;
+    failed-upgrade)
+    ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/postinst 0.0.2012-06-kde4.8-2.1ubuntu1/debian/postinst
--- 0.0.2012-06-kde4.8-2.1/debian/postinst	2012-11-13 14:09:46.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/postinst	1970-01-01 00:00:00.000000000 +0000
@@ -1,49 +0,0 @@
-#! /bin/sh
-# postinst script for #PACKAGE#
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-
-PRIORITY=50
-TARGET=/usr/share/icons/default/index.theme
-ICONDIR=/etc/X11/cursors
-
-case "$1" in
-    configure)
-	for theme in `find $ICONDIR -regex '.*oxy-.*theme$'`; 
-	do
-            if ! update-alternatives --list x-cursor-theme |grep -q $theme; then
-	      update-alternatives --install $TARGET x-cursor-theme $theme $PRIORITY
-            fi
-	done
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/preinst 0.0.2012-06-kde4.8-2.1ubuntu1/debian/preinst
--- 0.0.2012-06-kde4.8-2.1/debian/preinst	2012-11-13 14:09:46.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/preinst	1970-01-01 00:00:00.000000000 +0000
@@ -1,25 +0,0 @@
-#! /bin/sh
-
-set -e
-
-REMOVED_LIST=""
-ICONDIR=/etc/X11/cursors
-
-case "$1" in
-    upgrade)
-	for theme in $REMOVED_LIST; 
-	do
-            if update-alternatives --list x-cursor-theme |grep -q $theme; then
-	      update-alternatives --remove $ICONDIR/$theme
-	      rm -f $ICONDIR/$theme
-            fi
-	done
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/prerm 0.0.2012-06-kde4.8-2.1ubuntu1/debian/prerm
--- 0.0.2012-06-kde4.8-2.1/debian/prerm	2012-11-13 14:09:46.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/prerm	1970-01-01 00:00:00.000000000 +0000
@@ -1,42 +0,0 @@
-#! /bin/sh
-# prerm script for #PACKAGE#
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-ICONDIR=/etc/X11/cursors
-
-case "$1" in
-    remove|deconfigure)
-        for theme in `find $ICONDIR -regex '.*oxy-.*theme$'`; do
-            update-alternatives --remove x-cursor-theme $theme
-        done
-    ;;
-    upgrade)
-    ;;
-    failed-upgrade)
-    ;;
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/rules 0.0.2012-06-kde4.8-2.1ubuntu1/debian/rules
--- 0.0.2012-06-kde4.8-2.1/debian/rules	2012-11-13 14:09:46.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/rules	2012-11-13 14:09:47.000000000 +0000
@@ -43,9 +43,11 @@ install:
 	dh_testroot
 	dh_clean -k 
 	dh_installdirs
+	mkdir -p $(CURDIR)/debian/tmp/$(ICONDIR)
+	mkdir -p $(CURDIR)/debian/tmp/$(WRAPPERDIR)
 
 	# Add here commands to install the package into debian/comixcursors.
-	cp -a cursors/oxy-* $(CURDIR)/debian/oxygencursors/$(ICONDIR)
+	cp -a cursors/oxy-* $(CURDIR)/debian/tmp/$(ICONDIR)
 
 	chmod +x debian/wrapperthemes.sh
 
@@ -58,6 +60,7 @@ binary-arch: install
 binary-indep: install
 	dh_testdir
 	dh_testroot
+	dh_install --fail-missing
 	dh_installdocs
 	dh_installchangelogs 
 	dh_compress
diff -pruN 0.0.2012-06-kde4.8-2.1/debian/wrapperthemes.sh 0.0.2012-06-kde4.8-2.1ubuntu1/debian/wrapperthemes.sh
--- 0.0.2012-06-kde4.8-2.1/debian/wrapperthemes.sh	2012-11-13 14:09:46.000000000 +0000
+++ 0.0.2012-06-kde4.8-2.1ubuntu1/debian/wrapperthemes.sh	2012-11-13 14:09:47.000000000 +0000
@@ -2,12 +2,12 @@
 ICONDIR=usr/share/icons
 WRAPPERDIR=etc/X11/cursors
 CURDIR=`pwd`
-        cd debian/oxygencursors/${ICONDIR}
+        cd debian/tmp/${ICONDIR}
 	for theme in oxy*
 	do 
-		grep -v Inherits ${CURDIR}/debian/oxygencursors/${ICONDIR}/${theme}/index.theme > tmp || exit 1
+		grep -v Inherits ${CURDIR}/debian/tmp/${ICONDIR}/${theme}/index.theme > tmp || exit 1
 		echo "Inherits = ${theme}" >> tmp  || exit 1
-		install -m 644 tmp ${CURDIR}/debian/oxygencursors/${WRAPPERDIR}/${theme}.theme || exit 1
+		install -m 644 tmp ${CURDIR}/debian/tmp/${WRAPPERDIR}/${theme}.theme || exit 1
 		rm tmp || exit 1
 	done 
 exit 0
