blob: 7a4dfccc1ca9a8fb2a41017280a9a38c1a1f9ad9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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/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/
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
|