dpkg

An Alfred Workflow


Short Description

Semi-automates the debian package creation process using dpkg.

Last Updated

20 Jul 2014

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
No Yes Yes Yes No
 

Version

0.1
 

Bundle ID

com.dominyk.dpkg
 

Author

Categories

Applications

This semi-automates the creation of Debian packages. It should be compatible from 10.7 - 10.10. Collect all of your files on the desktop in a folder named "package", correctly formatted into the Debian format including control file. For more information on dpkg formatting see here.

It uses Homebrew as its backbone, and dpkg is installed & updated via Homebrew. This is largely because Homebrew is a great way to sandbox the formulas in a non-destructive, safe way without any interference with the system.

Obviously, this makes installing Homebrew & updating your $PATH a prerequisite to using this workflow.

Commands:

  • dpkg install - Installs dpkg via Homebrew
  • dpkg upgrade - Upgrades dpkg via Homebrew
  • dpkg create - Creates a .deb file from the "package" folder on your desktop. Also automatically removes all .DS_Store (OS X system junk) files from that package before creation.