
Receipt for package "Connect-Four"
# SliTaz package receipt. PACKAGE="Connect-Four" VERSION="20140416" GITTAG="fa4bbe1fbd6158fa4504d3cb832d8d4af4d3f805" CATEGORY="games" SHORT_DESC="A Connect Four game in JavaScript" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="unknown" WEB_SITE="https://github.com/OmarAlEisa/Connect-Four" TARBALL="$PACKAGE-$VERSION.zip" WGET_URL="$WEB_SITE/archive/$GITTAG.zip" HOST_ARCH="any" # What is the latest version available today? current_version() { wget -O - $WEB_SITE/commits/master 2>/dev/null | \ sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q' } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/var/www/Connect-Four $fs/usr/share/applications cp -a $src/[a-z]* $fs/var/www/Connect-Four sed -i '/<script>/,/<\/script>/d' $fs/var/www/Connect-Four/index.html chown -R 80.80 $fs/var/www/Connect-Four cat > $fs/usr/share/applications/Connect-Four.desktop <<EOT [Desktop Entry] Type=Application Name=4 in a raw Name[fr]=4 en ligne Exec=sh -c "url=file:///var/www/Connect-Four/index.html; tazweb --notoolbar \$url || browser \$url" Terminal=false Categories=Game; Icon=applications-games EOT }
6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)