
Receipt for package "Connect-Four"
# SliTaz package receipt. PACKAGE="Connect-Four" VERSION="1.0" 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 '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d } # 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 }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)