wok-current diff marble/receipt @ rev 24053
Up slitaz-boot-script (471)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 27 13:42:59 2021 +0000 (2021-05-27) |
parents | 04d1aa7b70ca |
children | 34e801e0eb52 |
line diff
1.1 --- a/marble/receipt Sat Dec 26 17:39:02 2015 +0200 1.2 +++ b/marble/receipt Thu May 27 13:42:59 2021 +0000 1.3 @@ -23,23 +23,23 @@ 1.4 -DCMAKE_INSTALL_PREFIX=/usr .. && 1.5 make && 1.6 make install 1.7 + 1.8 + # remove unwanted files 1.9 + cd $DESTDIR/usr/share/applications 1.10 + mv marble_osm.desktop marble.desktop 1.11 + for i in $(sed '/MimeType/!d;s/.*=//' marble_*); do 1.12 + sed -i "s|MimeType.*|&$i|" marble.desktop 1.13 + done 1.14 + rm -f marble_*.desktop marble-*.desktop 1.15 } 1.16 1.17 # Rules to gen a SliTaz package suitable for Tazpkg. 1.18 genpkg_rules() 1.19 { 1.20 cp -a $install/usr $fs 1.21 - cd $fs/usr/share/applications 1.22 - mv marble_osm.desktop marble.desktop 1.23 - for i in $(sed '/MimeType/!d;s/.*=//' marble_*); do 1.24 - sed -i "s|MimeType.*|&$i|" marble.desktop 1.25 - done 1.26 1.27 # remove unwanted files 1.28 rm -rf $fs/usr/include 1.29 rm -rf $fs/usr/share/marble/cmake 1.30 rm $fs/usr/bin/marble-mobile $fs/usr/bin/marble-touch 1.31 - for i in '-mobile' '-touch' '-qt' '_gpx' '_kml'; do 1.32 - rm $fs/usr/share/applications/marble$i.desktop 1.33 - done 1.34 }