imlib: convert to new package format

this seems broken and orphaned ?