diff options
Diffstat (limited to 'meta/packages/puzzles/puzzles_r7593.bb')
-rw-r--r-- | meta/packages/puzzles/puzzles_r7593.bb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/packages/puzzles/puzzles_r7593.bb b/meta/packages/puzzles/puzzles_r7593.bb index bcb19bae2c..e580116198 100644 --- a/meta/packages/puzzles/puzzles_r7593.bb +++ b/meta/packages/puzzles/puzzles_r7593.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | 1 | ||
2 | DEPENDS = "gtk+" | 2 | DEPENDS = "gtk+" |
3 | PR = "r4" | 3 | PR = "r5" |
4 | MOD_PV = "${@bb.data.getVar('PV',d,1)[1:]}" | 4 | MOD_PV = "${@bb.data.getVar('PV',d,1)[1:]}" |
5 | 5 | ||
6 | #SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz" | 6 | #SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz" |
@@ -35,9 +35,7 @@ do_install () { | |||
35 | for prog in *; do | 35 | for prog in *; do |
36 | if [ -x $prog ]; then | 36 | if [ -x $prog ]; then |
37 | # Convert prog to Title Case | 37 | # Convert prog to Title Case |
38 | firstchar=${prog:0:1} | 38 | title=$(echo $prog | sed 's/\(^\| \)./\U&/g') |
39 | title=`echo "$firstchar" | tr a-z A-Z` | ||
40 | title="$title${prog:1}" | ||
41 | echo "making ${D}/${datadir}/applications/$prog.desktop" | 39 | echo "making ${D}/${datadir}/applications/$prog.desktop" |
42 | cat <<STOP > ${D}/${datadir}/applications/$prog.desktop | 40 | cat <<STOP > ${D}/${datadir}/applications/$prog.desktop |
43 | [Desktop Entry] | 41 | [Desktop Entry] |