Removed deb and rpm building. Mostly broken, and layout not consistent with other Linux distros.

This commit is contained in:
Steve 2016-05-21 19:02:20 +01:00
parent c1f27d0ed7
commit dfdea37538
2 changed files with 0 additions and 36 deletions

View File

@ -3,7 +3,6 @@
cd `dirname $0`
BUILDROOT="build/linux"
OUT="$BUILDROOT/tbftss"
cd ../..
@ -15,28 +14,4 @@ make clean
make
make dist
mkdir -p $OUT
rm -rf $OUT/*
mkdir -p $OUT/DEBIAN
make DESTDIR=$OUT install
SIZE=`du -bs $OUT | cut -f -1`
SIZE=`expr $SIZE / 1024`
sed \
-e "s/\${version}/$VERSION-$REVISION/" \
-e "s/\${size}/$SIZE/" \
$BUILDROOT/control > $OUT/DEBIAN/control
cd $BUILDROOT
dpkg-deb --build tbftss
mv tbftss.deb tbftss-${VERSION}-${REVISION}.i386.deb
alien -r --bump=0 tbftss-${VERSION}-${REVISION}.i386.deb
mv *.deb *.rpm ../../dist
rm -rf tbftss

View File

@ -1,11 +0,0 @@
Source: tbftss
Package: tbftss
Version: ${version}
Section: games
Priority: optional
Installed-Size: ${size}
Architecture: i386
Depends: libsdl2-2.0-0, libsdl2-image-2.0-0, libsdl2-mixer-2.0-0, libsdl2-ttf-2.0-0
Maintainer: stephenjsweeney@battleforthesolarsystem.com
Description: 2D mission-based space shooter, based on the Battle for the Solar System space opera novel trilogy.
Homepage: www.battleforthesolarsystem.com/games/pw