diff options
Diffstat (limited to 'packaging/deb')
| -rw-r--r-- | packaging/deb/control | 12 | ||||
| -rwxr-xr-x | packaging/deb/deb-build.sh | 41 | ||||
| -rw-r--r-- | packaging/deb/r | 1 | ||||
| -rw-r--r-- | packaging/deb/tuxanci-ng.desktop | 9 |
4 files changed, 63 insertions, 0 deletions
diff --git a/packaging/deb/control b/packaging/deb/control new file mode 100644 index 0000000..9779ea8 --- /dev/null +++ b/packaging/deb/control @@ -0,0 +1,12 @@ +Package: tuxanci-ng +Version: svn48 +Section: Game +Priority: optional +Depends: libc6 (>= 2.2.4-4), libsdl1.2debian (>= 1.2), libsdl-image1.2 (>= 1.2), libsdl-mixer1.2 (>= 1.2), libsdl-net1.2 (>= 1.2), libsdl-ttf2.0-0 (>= 2.0) +Architecture: i386 +Installed-Size: 4510 +Maintainer: Dušan Ďurech <dusan.d@centrum.sk> +Description: Game tuxanci next generation SVN revision 27 + Game tuxanci next generation SVN revision 27 + . + http://www.tuxanci.org diff --git a/packaging/deb/deb-build.sh b/packaging/deb/deb-build.sh new file mode 100755 index 0000000..d471748 --- /dev/null +++ b/packaging/deb/deb-build.sh @@ -0,0 +1,41 @@ +#!/bin/sh + +PROJECT="tuxanci-ng" +TMP_DIR="tmp" +DEB_ARCH="i386" +DEB_NAME="tuxanci-ng_svn" + +SRC_DIR="../../.." + +rm -rf $TMP_DIR + + +mkdir $TMP_DIR +mkdir $TMP_DIR/DEBIAN +mkdir $TMP_DIR/usr +mkdir $TMP_DIR/usr/bin +mkdir $TMP_DIR/usr/share +mkdir $TMP_DIR/usr/share/applications + +cp control $TMP_DIR/DEBIAN/ +cp $PROJECT.desktop $TMP_DIR/usr/share/applications + +cd $TMP_DIR + +echo -e "2.0\n" > DEBIAN/debian-binary + +mv $SRC_DIR/config.h $SRC_DIR/zal_config.h +mv $SRC_DIR/deb_config.h $SRC_DIR/config.h + +make -C $SRC_DIR clean +make -C $SRC_DIR +make -C $SRC_DIR DESTDIR="./packaging/deb/$TMP_DIR/usr" install; + +mv $SRC_DIR/config.h $SRC_DIR/deb_config.h +mv $SRC_DIR/zal_config.h $SRC_DIR/config.h + +md5sum `find ./ -type f | awk '/.\// { print substr($0, 3) }'` > DEBIAN/md5sums + +cd .. +rm -rf *.deb +dpkg -b ./$TMP_DIR $DEB_NAME`cat r`_$DEB_ARCH.deb diff --git a/packaging/deb/r b/packaging/deb/r new file mode 100644 index 0000000..21e72e8 --- /dev/null +++ b/packaging/deb/r @@ -0,0 +1 @@ +48 diff --git a/packaging/deb/tuxanci-ng.desktop b/packaging/deb/tuxanci-ng.desktop new file mode 100644 index 0000000..45ed4b0 --- /dev/null +++ b/packaging/deb/tuxanci-ng.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=tuxanci-ng +Comment=game tuxanci next generation +Exec=/usr/bin/tuxanci-ng +Terminal=false +Type=Application +Icon=/usr/share/tuxanci-ng/image/tuxanci.png +Encoding=UTF-8 +Categories=Game |