summaryrefslogtreecommitdiffstats
path: root/meta/packages/puzzles/oh-puzzles_svn.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-17 11:00:45 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-17 11:00:45 +0000
commit1a9ae24220a2c2ab40424782c35c0f62925620d9 (patch)
treed0c9dc65e7eab4ef06bae39fa08c675a48ef5a67 /meta/packages/puzzles/oh-puzzles_svn.bb
parentd717268a0d7b02181fd750e7a0b8a66af6463274 (diff)
downloadpoky-1a9ae24220a2c2ab40424782c35c0f62925620d9.tar.gz
puzzles: Capitalize program names, use svn for obtaining source rather than tarball
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1744 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/puzzles/oh-puzzles_svn.bb')
-rw-r--r--meta/packages/puzzles/oh-puzzles_svn.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/packages/puzzles/oh-puzzles_svn.bb b/meta/packages/puzzles/oh-puzzles_svn.bb
index ad978d38c0..f6599484e6 100644
--- a/meta/packages/puzzles/oh-puzzles_svn.bb
+++ b/meta/packages/puzzles/oh-puzzles_svn.bb
@@ -3,7 +3,7 @@ LICENSE = "MIT"
3SECTION = "x11" 3SECTION = "x11"
4DEPENDS = "gtk+ gconf intltool-native librsvg" 4DEPENDS = "gtk+ gconf intltool-native librsvg"
5PV = "0.1+svn${SRCDATE}" 5PV = "0.1+svn${SRCDATE}"
6PR = "r2" 6PR = "r3"
7 7
8inherit autotools pkgconfig 8inherit autotools pkgconfig
9 9
@@ -18,11 +18,15 @@ do_install_append () {
18 cd ${D}/${prefix}/games 18 cd ${D}/${prefix}/games
19 for prog in *; do 19 for prog in *; do
20 if [ -x $prog ]; then 20 if [ -x $prog ]; then
21 # Convert prog to Title Case
22 firstchar=${prog:0:1}
23 title=`echo "$firstchar" | tr a-z A-Z`
24 title="$title${prog:1}"
21 echo "making ${D}/${datadir}/applications/$prog.desktop" 25 echo "making ${D}/${datadir}/applications/$prog.desktop"
22 cat <<STOP > ${D}/${datadir}/applications/$prog.desktop 26 cat <<STOP > ${D}/${datadir}/applications/$prog.desktop
23[Desktop Entry] 27[Desktop Entry]
24Encoding=UTF-8 28Encoding=UTF-8
25Name=$prog 29Name=$title
26Exec=${prefix}/games/$prog 30Exec=${prefix}/games/$prog
27Icon=applications-games 31Icon=applications-games
28Terminal=false 32Terminal=false