From c8a8b08db7889eaa34f0b52b5a4d9487358b0d88 Mon Sep 17 00:00:00 2001 From: scarab Date: Wed, 3 Sep 2008 11:51:34 +0000 Subject: - snad uz finalni upravy instalace git-svn-id: http://opensvn.csie.org/tuxanci_ng@272 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- packaging/gentoo/tuxanci-9999.ebuild | 2 ++ packaging/linux/build.sh | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'packaging') 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 -- cgit v1.2.3