aboutsummaryrefslogtreecommitdiffstats
path: root/dists/debian
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-27 19:05:35 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-27 19:05:35 +0000
commit0cd631c83102be425c08d5c23e95af12e3be2557 (patch)
tree74ed74fa4ccf2d300682fe2b12974dc1b76a5ed7 /dists/debian
parent5a1804bc0ba11ee5539e22520079fdcd243d4d40 (diff)
downloadusdx-0cd631c83102be425c08d5c23e95af12e3be2557.tar.gz
usdx-0cd631c83102be425c08d5c23e95af12e3be2557.tar.xz
usdx-0cd631c83102be425c08d5c23e95af12e3be2557.zip
- bamboo stuff moved to dists/bamboo
- debian pkg-data moved to dists/debian git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1320 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'dists/debian')
-rw-r--r--dists/debian/package_debian.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/dists/debian/package_debian.sh b/dists/debian/package_debian.sh
new file mode 100644
index 00000000..bdb341a2
--- /dev/null
+++ b/dists/debian/package_debian.sh
@@ -0,0 +1,32 @@
+# This script should be run post-compile
+# 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/local
+mkdir ../../../deb-package/usr/local/share
+mkdir ../../../deb-package/usr/local/share/UltraStarDeluxe
+mkdir ../../../deb-package/usr/bin
+
+cp ../../UltraStar ../../../deb-package/usr/bin/UltraStarDeluxe
+
+cp -a ../../Themes/ ../../../deb-package/usr/local/share/UltraStarDeluxe/
+cp -a ../../Sounds/ ../../../deb-package/usr/local/share/UltraStarDeluxe/
+cp -a ../../Skins/ ../../../deb-package/usr/local/share/UltraStarDeluxe/
+cp -a ../../Languages/ ../../../deb-package/usr/local/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