wok-current diff sudoku/receipt @ rev 25262
updated rclone (1.51.0 -> 1.59.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 08:42:33 2022 +0100 (2022-07-15) |
parents | 90a87813caa6 |
children |
line diff
1.1 --- a/sudoku/receipt Sun Jan 27 21:28:24 2019 +0100 1.2 +++ b/sudoku/receipt Fri Jul 15 08:42:33 2022 +0100 1.3 @@ -8,7 +8,7 @@ 1.4 LICENSE="unknown" 1.5 TARBALL="$PACKAGE-$VERSION" 1.6 WEB_SITE="https://web.archive.org/web/20140124072600/http://10k.aneventapart.com/1/Entry/81" 1.7 -WGET_URL="https://web.archive.org/web/20140124072600/http://10k.aneventapart.com/1/Uploads/81/index.html" 1.8 +WGET_URL="https://web.archive.org/web/20140124074927/http://10k.aneventapart.com/1/Uploads/81/" 1.9 HOST_ARCH="any" 1.10 GENERIC_PIXMAPS="no" 1.11 COOKOPTS="!pixmaps" 1.12 @@ -17,7 +17,12 @@ 1.13 genpkg_rules() 1.14 { 1.15 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications 1.16 - cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html 1.17 + sed -e '/BEGIN WAYBACK TOOLBAR INSERT/,/END WAYBACK TOOLBAR INSERT/d' \ 1.18 + -e '/analytics.js/,/End Wayback Rewrite JS Include/d' \ 1.19 + -e '/<\/html>/,$d' < $src/$TARBALL > $fs/var/www/$PACKAGE/index.html 1.20 + echo '</html>' >> $fs/var/www/$PACKAGE/index.html 1.21 + grep -q '<head>' $fs/var/www/$PACKAGE/index.html || 1.22 + sed -i 's|<html>|&\n<head>|' $fs/var/www/$PACKAGE/index.html 1.23 chown -R 80.80 $fs/var/www/$PACKAGE 1.24 cat > $fs/usr/share/applications/sudoku.desktop <<EOT 1.25 [Desktop Entry]