# SliTaz package receipt. PACKAGE="leocad-pieces" VERSION="4806" CATEGORY="games" SHORT_DESC="Pieces library for LeoCAD." MAINTAINER="rcx@zoominternet.net" LICENSE="GPL2" SOURCE="pieces" TARBALL="$SOURCE-$VERSION.zip" WEB_SITE="https://www.leocad.org/" WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/leocad/$TARBALL" # What is the latest version available today? current_version() { wget -O - https://github.com/leozide/leocad/releases 2>/dev/null | \ sed '/Library/!d;s|.*Library[^0-9]*||;s|.zip.*||;q' } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/leocad cp -a $src/* $fs/usr/share/leocad }