<?php defined('C5_EXECUTE') or die(_("Access Denied.")); class ThemeD5Royal5Package extends Package { protected $pkgHandle = 'theme_d5_royal5'; protected $appVersionRequired = '5.3'; protected $pkgVersion = '1.0'; public function getPackageDescription() { return t("Installs the D5 Royal5 theme."); } public function getPackageName() { return t("D5 Royal5"); } public function install() { $pkg = parent::install(); PageTheme::add('d5_royal5', $pkg);
theme_d5_royal5/ | +-CHANGELOG | +-controller.php | +-icon.png | +-themes/ | +-d5_royal5/ (all yoru theme stuff inside here, just like it was before you built the pacakge)
http://www.concrete5.org/marketplace/manage_item/... to submit your theme when done