summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-09-03 11:51:34 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-09-03 11:51:34 +0000
commitc8a8b08db7889eaa34f0b52b5a4d9487358b0d88 (patch)
tree1f58e0591c4d0832cc54d91e6efee8966924d7aa
parent3c3f213513f0e4d4d457ae782429327d02b59b4b (diff)
- snad uz finalni upravy instalace
git-svn-id: http://opensvn.csie.org/tuxanci_ng@272 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
-rw-r--r--data/CMakeLists.txt13
-rw-r--r--packaging/gentoo/tuxanci-9999.ebuild2
-rwxr-xr-xpackaging/linux/build.sh8
3 files changed, 10 insertions, 13 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 80da8c2..8b4979b 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -13,13 +13,8 @@ ADD_SUBDIRECTORY ( sound )
# CURRENT DIRECTORY FILES
###############################################################################
CONFIGURE_FILE ( tuxanci.desktop.in data/tuxanci.desktop )
-# dont instal those let packagers handle it
-#IF ( NOT Server )
-# INSTALL ( FILES tuxanci.desktop
-# DESTINATION ${CMAKE_INSTALL_DOCDIR}/${APPNAME}/)
-# IF ( NOT Win )
-# INSTALL ( FILES tuxanci.svg
-# DESTINATION ${CMAKE_INSTALL_DOCDIR}/${APPNAME}/ )
-# ENDIF ( NOT Win )
-#ENDIF ( NOT Server )
+IF ( NOT Server )
+ INSTALL ( FILES tuxanci.svg
+ DESTINATION ${CMAKE_INSTALL_DOCDIR}/${APPNAME}/ )
+ENDIF ( NOT Server )
###############################################################################
diff --git a/packaging/gentoo/tuxanci-9999.ebuild b/packaging/gentoo/tuxanci-9999.ebuild
index 85eb85a..7e6cc4a 100644
--- a/packaging/gentoo/tuxanci-9999.ebuild
+++ b/packaging/gentoo/tuxanci-9999.ebuild
@@ -44,6 +44,8 @@ src_install() {
cmake-utils_src_install
doicon data/${PN}.svg
+ # we compile our desktop file
+ cd "${WORKDIR}"/tuxanci_build
domenu data/${PN}.desktop
prepgamesdirs
diff --git a/packaging/linux/build.sh b/packaging/linux/build.sh
index 5ab9af3..b46d78e 100755
--- a/packaging/linux/build.sh
+++ b/packaging/linux/build.sh
@@ -75,17 +75,17 @@ echo "2.0" > "${DEST_DEB}"/DEBIAN/debian-binary
echo "[Desktop Entry]
Name=${APPNAME}-${Y}-${VERSION}
Comment=game tuxanci
-Exec=/usr/games/bin/${APPNAME}-${VERSION}
+Exec=${APPNAME}-${Y}-${VERSION}
Terminal=false
Type=Application
-Icon=/usr/games/share/tuxanci-svn/images/tuxanci.png
+Icon=/usr/games/share/doc/${APPNAME}-${Y}-${VERSION}/tuxanci.svg
Encoding=UTF-8
-Categories=Game" > "${DEST_DEB}"/usr/share/applications/tuxanci.desktop
+Categories=Game;" > "${DEST_DEB}"/usr/share/applications/tuxanci.desktop
echo "Package: ${APPNAME}-${Y}-${VERSION}
Version: 0.2.1
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-ttf2.0-0 (>= 2.0), gettext
+Depends: libc6 (>= 2.2.4-4), libsdl1.2debian (>= 1.2), libsdl-image1.2 (>= 1.2), libsdl-mixer1.2 (>= 1.2), libsdl-ttf2.0-0 (>= 2.0)
Architecture: ${ARCH}
Installed-Size: 4993
Maintainer: Tomas Chvatal <tomas.chvatal@gmail.com>