Skip to content

Instantly share code, notes, and snippets.

@curiousdannii
Created October 8, 2012 10:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save curiousdannii/3851935 to your computer and use it in GitHub Desktop.
Save curiousdannii/3851935 to your computer and use it in GitHub Desktop.
Ubuntu 12.04 package of Starcraft for Ubertweak
*~
*.build
*.changes
*.deb
*.dsc
*.gz
*.log
*.substvars
starcraft/debian/files
starcraft/debian/starcraft/
starcraft/starcraft-files/
Ubuntu 12.04 package of Starcraft for Ubertweak
===============================================
Dependencies for building the package:
sudo apt-get install debhelper devscripts
Copy your install of Starcraft (patched to 1.16.1) to:
starcraft/starcraft-files/
We recommend using this minimal StarCraft.mpq - it will allow the game to run without a CD, but without single player
http://gamecopyworld.com/games/pc_starcraft.shtml#StarCraft / SC: Brood War [ALL] No-CD/Fixed Image
To build:
cd starcraft
debuild -us -uc
Lintian will generate a bunch of warnings at the end, but they can be ignored.
Note: This package template may be freely distributed, but as Starcraft is commercially licenced any package you make from this is strictly for personal use only, and cannot be distributed.
starcraft (1) unstable; urgency=low
* Initial release
-- Dannii <curiousdannii@gmail.com> Mon, 08 Oct 2012 16:46:39 +1000
Source: starcraft
Section: non-free/games
Priority: extra
Maintainer: Dannii <curiousdannii@gmail.com>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.3
Package: starcraft
Architecture: all
Depends: ${misc:Depends}, wine
Description: Our favourite game
Installs Starcraft for Ubertweak
3.0 (native)
#!/bin/sh
chmod 777 /usr/share/starcraft-files/characters
chmod 777 /usr/share/starcraft-files/maps/replays
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
#!/bin/sh
wine /usr/share/starcraft-files/StarCraft.exe
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=starcraft
Name=StarCraft
Icon=starcraft
Categories=Game;
/usr/share/starcraft-files/characters
/usr/share/starcraft-files/maps/replays
starcraft /usr/games
starcraft.png /usr/share/pixmaps
starcraft.desktop /usr/share/applications
starcraft-files/ /usr/share/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment