------------------------------------------------------------------------ # step 0: rm --verbose --recursive ~/deb/pct-skel-config-0.0.20081209 # step 1: mkdir --verbose --parents ~/deb/pct-skel-config-0.0.20081209/ # step 2: echo 'DEBSIGN_KEYID="78830E32"' | tee ~/deb/.devscripts echo 'DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -ICVS -I.svn"' | tee --append ~/deb/.devscripts DEBEMAIL=jelledejong@powercraft.nl EDITOR=geany DEBFULLNAME="Jelle de Jong" export DEBEMAIL DEBFULLNAME EDITOR # step 3: cd ~/deb/ tar --create --verbose --gzip --file ~/deb/pct-skel-config-0.0.20081209.tar.gz pct-skel-config-0.0.20081209/ # step 4: cd ~/deb/pct-skel-config-0.0.20081209/ dh_make --copyright gpl --email jelledejong@powercraft.nl --file ../pct-skel-config-0.0.20081209.tar.gz # step 5: echo 'etc/skel' | tee ~/deb/pct-skel-config-0.0.20081209/debian/dirs # step 6: .??* echo '.background.png etc/skel/' | tee ~/deb/pct-skel-config-0.0.20081209/debian/install echo '.bash_profile etc/skel/' | tee --append ~/deb/pct-skel-config-0.0.20081209/debian/install echo '.config etc/skel/' | tee --append ~/deb/pct-skel-config-0.0.20081209/debian/install echo '.gtk-bookmarks etc/skel/' | tee --append ~/deb/pct-skel-config-0.0.20081209/debian/install echo '.gtkrc-2.0 etc/skel/' | tee --append ~/deb/pct-skel-config-0.0.20081209/debian/install echo '.htoprc etc/skel/' | tee --append ~/deb/pct-skel-config-0.0.20081209/debian/install echo '.shoutcastlive.pls etc/skel/' | tee --append ~/deb/pct-skel-config-0.0.20081209/debian/install echo '.xbindkeys.d etc/skel/' | tee --append ~/deb/pct-skel-config-0.0.20081209/debian/install echo '.xbindkeysrc.scm etc/skel/' | tee --append ~/deb/pct-skel-config-0.0.20081209/debian/install echo '.xvkbd etc/skel/' | tee --append ~/deb/pct-skel-config-0.0.20081209/debian/install # step 7: cd ~/deb/pct-skel-config-0.0.20081209/debian rm --verbose docs cron.d.ex emacsen-install.ex emacsen-remove.ex emacsen-startup.ex init.d.ex init.d.lsb.ex manpage.1.ex manpage.sgml.ex manpage.xml.ex menu.ex pct-skel-config.default.ex pct-skel-config.doc-base.EX postinst.ex postrm.ex preinst.ex prerm.ex README.Debian watch.ex # step 8: vim ~/deb/pct-skel-config-0.0.20081209/debian/rules vim ~/deb/pct-skel-config-0.0.20081209/debian/copyright vim ~/deb/pct-skel-config-0.0.20081209/debian/changelog vim ~/deb/pct-skel-config-0.0.20081209/debian/control # step 9: cd ~/deb/pct-skel-config-0.0.20081209/debian/ debuild clean debuild debuild clean # step 10: cd ~ lintian -i ~/deb/pct-skel-config_0.0.20081209-1_i386.deb lintian -i ~/deb/pct-skel-config_0.0.20081209-1_i386.changes # step 11: dupload ~/deb/pct-skel-config_0.0.20081209-1_i386.changes # step 12: ssh jelle@powercraft.nl su - reprepro --verbose --ask-passphrase --basedir /var/www/powercraft.nl/packages/debian include sid /var/www/powercraft.nl/packages/debian/incoming/pct-skel-config_0.0.20081209-1_i386.changes find /var/www/powercraft.nl/packages/ -type d -exec chmod 750 {} \; find /var/www/powercraft.nl/packages/ -type f -exec chmod 640 {} \; find /var/www/powercraft.nl/packages/ -exec chgrp www-data {} \; rm --verbose /var/www/powercraft.nl/packages/debian/incoming/* logout logout # step 13: sudo apt-get update sudo apt-get install pct-skel-config ------------------------------------------------------------------------