From 0cd631c83102be425c08d5c23e95af12e3be2557 Mon Sep 17 00:00:00 2001 From: tobigun Date: Wed, 27 Aug 2008 19:05:35 +0000 Subject: - 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 --- dists/debian/package_debian.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dists/debian/package_debian.sh (limited to 'dists/debian') 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 -- cgit v1.2.3