aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-01-08 12:22:50 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-01-08 12:22:50 +0000
commit77edbade28e7aa7798fbf0518e105e27781896d9 (patch)
treeba6b9f09289aeb75b1bf9fb7bfe51fbcb785c2ef
parentae6207c17c53e0319a39324e5c20bdccfbbd9976 (diff)
downloadusdx-77edbade28e7aa7798fbf0518e105e27781896d9.tar.gz
usdx-77edbade28e7aa7798fbf0518e105e27781896d9.tar.xz
usdx-77edbade28e7aa7798fbf0518e105e27781896d9.zip
this script seems to build a deb now...
wonder if its correct :) or if it even works !! haha git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@759 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--Game/Code/package_debian.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/Game/Code/package_debian.sh b/Game/Code/package_debian.sh
index 373c82a0..7a4dfccc 100644
--- a/Game/Code/package_debian.sh
+++ b/Game/Code/package_debian.sh
@@ -2,9 +2,13 @@
# and i should move files to the correct location for packaging ... ( for DEB package )
rm -fr ../../../deb-package
+rm -fr ../../../packages
clear
+mkdir ../../../packages
+
mkdir ../../../deb-package
+mkdir ../../../deb-package/DEBIAN
mkdir ../../../deb-package/usr
mkdir ../../../deb-package/usr/share
mkdir ../../../deb-package/usr/share/UltraStarDeluxe
@@ -16,3 +20,12 @@ cp -a ../../Themes/ ../../../deb-package/usr/share/UltraStarDeluxe/
cp -a ../../Sounds/ ../../../deb-package/usr/share/UltraStarDeluxe/
cp -a ../../Skins/ ../../../deb-package/usr/share/UltraStarDeluxe/
cp -a ../../Languages/ ../../../deb-package/usr/share/UltraStarDeluxe/
+
+cp UltraStarDeluxe.control ../../../deb-package/DEBIAN/control
+
+cd ../../../
+
+dpkg-deb --build ./deb-package
+mv deb-package.deb ./packages/UltraStarDeluxe_1.1_i386.deb
+
+rm -fr ../../../deb-package