[How-To] Create a DEB package for Cydia!
Hacks, themes, tweaks, mods and other stuff can be installed in many ways. One of the easiest way is to convert the whole package into a DEB package so that it becomes easier to install it without messing around with the file system.
Required Stuff :
- An iPhone, iPod Touch or iPad.
- SSH (OpenSSH installed on device).
- WinSCP, FileZilla, CyberDuck or any other SFTP software.
Let’s get started:
First of all, create a folder on your desktop. Lets call it “X”.
Next, we make a Control file which is important so that the package can be viewed in Cydia. To do this, create a folder called “DEBIAN” in the “X” folder. Copy the Control template given below and add your settings to it :
Package: com.yourcompany.yourapp Name: YourAppNameHere Version: Number Architecture: iphoneos-arm Description: Small Desc. about your app. Homepage: Your Website Maintainer: YourName Author: YourName Sponsor: YourWebSiteName Section: System
Create according to your file structure :
Inside your “X” folder, it’s going to be like the iPhone File System. Like if you want to add a file to the root partition, just put the file in “X”.
1. For Applications :
To install apps with DEBs, inside of “X”, make a folder called “Applications”. Then inside of Applications, make your app folder (EX: Cydia.app)
2. For Themes :
To install themes wth DEBs, inside of “X”, make a folder called “Library”. Then inside of Libary, make another folder called “Themes” . After that inside of themes make your theme folder (EX: Cydia.theme)
Done! Now, normally install them through iFile, Cydia-Autoinstall or SSH. You can even submit this package to a Cydia repo for others to download.