Put the openra binary in /usr/games

This commit is contained in:
Paul Chote
2011-04-17 12:34:46 +12:00
parent 5862c795a9
commit f0df830b69

View File

@@ -22,6 +22,12 @@ cp -R $rootdir/usr root
rm root/usr/share/openra/FreeSans.ttf rm root/usr/share/openra/FreeSans.ttf
rm root/usr/share/openra/FreeSansBold.ttf rm root/usr/share/openra/FreeSansBold.ttf
# Binaries go in /usr/games
mv root/usr/bin/ root/usr/games/
sed "s/\/usr\/bin\//\/usr\/games\//" root/usr/share/applications/openra.desktop > temp
mv temp root/usr/share/applications/openra.desktop
rm temp
# Put the copyright and changelog in /usr/share/doc/openra/ # Put the copyright and changelog in /usr/share/doc/openra/
mkdir -p root/usr/share/doc/openra/ mkdir -p root/usr/share/doc/openra/
cp copyright root/usr/share/doc/openra/copyright cp copyright root/usr/share/doc/openra/copyright
@@ -47,5 +53,5 @@ fakeroot dpkg-deb -b . $3
# Clean up # Clean up
popd popd
#rm -rf root rm -rf root