]> code.ossystems Code Review - openembedded-core.git/commitdiff
Set bindir instead of moving files, make a valid desktop file
authorRoss Burton <ross@openedhand.com>
Fri, 17 Aug 2007 12:54:32 +0000 (12:54 +0000)
committerRoss Burton <ross@openedhand.com>
Fri, 17 Aug 2007 12:54:32 +0000 (12:54 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2507 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/puzzles/oh-puzzles_svn.bb

index 8f02bf221a3db5545bcf6f515658173cfbe96edf..8c23eac30ee2aff1ee7184ce4c6878167a00f0d4 100644 (file)
@@ -3,7 +3,9 @@ LICENSE = "MIT"
 SECTION = "x11"
 DEPENDS = "gtk+ gconf intltool-native librsvg"
 PV = "0.1+svnr${SRCREV}"
-PR = "r0"
+PR = "r1"
+
+bindir = "/usr/games"
 
 inherit autotools pkgconfig
 
@@ -12,8 +14,6 @@ SRC_URI = "svn://svn.o-hand.com/repos/;module=oh-puzzles;proto=http \
 S = "${WORKDIR}/${PN}"
 
 do_install_append () {
-    mv ${D}${bindir} ${D}/usr/games
-
     install -d ${D}/${datadir}/applications/
 
     cd ${D}/${prefix}/games
@@ -30,7 +30,7 @@ Exec=${prefix}/games/$prog
 Icon=applications-games
 Terminal=false
 Type=Application
-Categories=Game
+Categories=Game;
 StartupNotify=true
 SingleInstance=true
 Comment=Play $title.