wok-next diff squirrelmail-vkeyboard/receipt @ rev 21231
updated clamtk (4.36 -> 5.27)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 17:21:10 2019 +0100 (2019-12-03) |
parents | c4e53a39395a |
children |
line diff
1.1 --- a/squirrelmail-vkeyboard/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/squirrelmail-vkeyboard/receipt Tue Dec 03 17:21:10 2019 +0100 1.3 @@ -3,7 +3,7 @@ 1.4 PACKAGE="squirrelmail-vkeyboard" 1.5 VERSION="0.9.1" 1.6 CATEGORY="network" 1.7 -SHORT_DESC="Virtual keyboard plugin for Web mail." 1.8 +SHORT_DESC="Virtual keyboard plugin for Web mail" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL2" 1.11 SOURCE="vkeyboard" 1.12 @@ -14,16 +14,12 @@ 1.13 1.14 DEPENDS="squirrelmail" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 - mkdir -p $DESTDIR 1.20 - cp -a $src $DESTDIR/$SOURCE 1.21 +compile_rules() { 1.22 + mkdir -p $install 1.23 + cp -a $src $install/$SOURCE 1.24 } 1.25 1.26 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 -genpkg_rules() 1.28 -{ 1.29 +genpkg_rules() { 1.30 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 1.31 cp -a $install/$SOURCE $fs/usr/share/squirrelmail/plugins 1.32 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php.sample \ 1.33 @@ -32,12 +28,10 @@ 1.34 $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php 1.35 } 1.36 1.37 -post_install() 1.38 -{ 1.39 +post_install() { 1.40 echo "\$plugins[] = '$SOURCE';" >> "$1/etc/squirrelmail/config_local.php" 1.41 } 1.42 1.43 -pre_remove() 1.44 -{ 1.45 +pre_remove() { 1.46 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 1.47 }