Packaging wallpapers for Ubuntu software center

Create a folder named whatever you want it to be. I recommend wallpapers in your home folder.

Inside this, create 2 folders: DEBIAN and usr

In the usr folder, create share. In that, create wallpapers. Put your wallpapers there.

In the DEBIAN folder, create 2 files: control, and postinst.

Then, make the control file look like:

Package: package name
Priority: optional
Section: misc
Maintainer: your name <your@email>
Architecture: all
Version: version number
Depends: whatever it depends on.
Description: a brief description of what your package includes or does.
<blank line here>

Note the blank line at the end, important!

Then, In postinst

#!/bin/bash

chmod a+r /usr/share/backgrounds/<wallpaper 1>
chmod a+r /usr/share/backgrounds/<wallpaper 2>
chmod a+r /usr/share/backgrounds/<wallpaper n>
# ...

exit 0

Do that for as many wallpapers as you have.

Save all the files.

Next, sudo chown -R root.root ~/wallpapers/

Finally, sudo dpkg -b ~/wallpapers wallpaper.deb

Then, you upload this to your PPA. Done!

src: http://ubuntuforums.org/showthread.php?t=2034040