wok-next rev 21420
updated puzzles ( -> 20200413)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 27 17:23:45 2020 +0100 (2020-04-27) |
parents | a1d65fd8c89a |
children | c575c6308833 |
files | puzzles/receipt |
line diff
1.1 --- a/puzzles/receipt Mon Apr 27 17:16:23 2020 +0100 1.2 +++ b/puzzles/receipt Mon Apr 27 17:23:45 2020 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="puzzles" 1.7 -VERSION="r8972" 1.8 +VERSION="20200413" 1.9 CATEGORY="games" 1.10 SHORT_DESC="Misc puzzles games" 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -13,7 +13,8 @@ 1.13 1.14 BUILD_DEPENDS="gtk2-dev" 1.15 1.16 -compile_rules() { 1.17 +compile_rules() 1.18 +{ 1.19 touch version2.def 1.20 sed -i 's/-pedantic//' Makefile mkfiles.pl 1.21 sed -i 's/sizeof(lld)/sizeof(*lld)/' lightup.c 1.22 @@ -23,13 +24,17 @@ 1.23 make DESTDIR=$install install 1.24 } 1.25 1.26 -genpkg_rules() { 1.27 - mkdir -p $fs/usr/share/pixmaps \ 1.28 - $fs/usr/share/applications 1.29 - cp -a $install/usr/local/games $fs/usr 1.30 - for img in $(ls $src/icons/*16d24*); do 1.31 - cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png 1.32 - done 1.33 - cp -a $stuff/*.desktop $fs/usr/share/applications 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr/share/pixmaps 1.37 + mkdir -p $fs/usr/share/applications 1.38 + 1.39 + cp -a $install/usr/local/games $fs/usr 1.40 + for img in $(ls $src/icons/*16d24*) 1.41 + do 1.42 + cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png 1.43 + done 1.44 + cp -a $stuff/*.desktop $fs/usr/share/applications 1.45 + 1.46 DEPENDS="gtk2 libcairo libxcb libxrandr" 1.47 }