From 17b2f9f88c28fa7d598625d14a36b01eb2afaee1 Mon Sep 17 00:00:00 2001 From: jaybinks Date: Tue, 8 Jan 2008 12:00:01 +0000 Subject: first revision of my helper script to move files to the correct locations for packaging. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@757 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/package_debian.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Game/Code/package_debian.sh (limited to 'Game/Code/package_debian.sh') diff --git a/Game/Code/package_debian.sh b/Game/Code/package_debian.sh new file mode 100644 index 00000000..b051f54e --- /dev/null +++ b/Game/Code/package_debian.sh @@ -0,0 +1,18 @@ +# 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 +clear + +mkdir ../../../deb-package +mkdir ../../../deb-package/usr +mkdir ../../../deb-package/usr/share +mkdir ../../../deb-package/usr/share/UltraStarDeluxe +mkdir ../../../deb-package/usr/bin + +cp ./UltraStar ../../../deb-package/usr/bin/UltraStarDeluxe + +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/ -- cgit v1.2.3 From ae6207c17c53e0319a39324e5c20bdccfbbd9976 Mon Sep 17 00:00:00 2001 From: jaybinks Date: Tue, 8 Jan 2008 12:11:00 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@758 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/package_debian.sh | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'Game/Code/package_debian.sh') diff --git a/Game/Code/package_debian.sh b/Game/Code/package_debian.sh index b051f54e..373c82a0 100644 --- a/Game/Code/package_debian.sh +++ b/Game/Code/package_debian.sh @@ -1,18 +1,18 @@ -# 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 -clear - -mkdir ../../../deb-package -mkdir ../../../deb-package/usr -mkdir ../../../deb-package/usr/share -mkdir ../../../deb-package/usr/share/UltraStarDeluxe -mkdir ../../../deb-package/usr/bin - -cp ./UltraStar ../../../deb-package/usr/bin/UltraStarDeluxe - -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/ +# 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 +clear + +mkdir ../../../deb-package +mkdir ../../../deb-package/usr +mkdir ../../../deb-package/usr/share +mkdir ../../../deb-package/usr/share/UltraStarDeluxe +mkdir ../../../deb-package/usr/bin + +cp ./UltraStar ../../../deb-package/usr/bin/UltraStarDeluxe + +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/ -- cgit v1.2.3 From 77edbade28e7aa7798fbf0518e105e27781896d9 Mon Sep 17 00:00:00 2001 From: jaybinks Date: Tue, 8 Jan 2008 12:22:50 +0000 Subject: 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 --- Game/Code/package_debian.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Game/Code/package_debian.sh') 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 -- cgit v1.2.3 From c63d80995c2c618b9cd293d9eecd3eb9e0e9b871 Mon Sep 17 00:00:00 2001 From: jaybinks Date: Tue, 12 Feb 2008 13:43:34 +0000 Subject: builds nice... and builds deb also that runs / works .. mostly :P git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@846 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/package_debian.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Game/Code/package_debian.sh') diff --git a/Game/Code/package_debian.sh b/Game/Code/package_debian.sh index 7a4dfccc..bdb341a2 100644 --- a/Game/Code/package_debian.sh +++ b/Game/Code/package_debian.sh @@ -10,16 +10,17 @@ mkdir ../../../packages mkdir ../../../deb-package mkdir ../../../deb-package/DEBIAN mkdir ../../../deb-package/usr -mkdir ../../../deb-package/usr/share -mkdir ../../../deb-package/usr/share/UltraStarDeluxe +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 ../../UltraStar ../../../deb-package/usr/bin/UltraStarDeluxe -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 -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 -- cgit v1.2.3