# SliTaz package receipt. PACKAGE="unifont" VERSION="14.0.04" CATEGORY="fonts" SHORT_DESC="The Standard GNU Unifont TTF." MAINTAINER="hackdorte@sapo.pt" LICENSE="GPL2" WEB_SITE="https://unifoundry.com/" REPOLOGY="fonts:unifont" TARBALL="$PACKAGE-$VERSION.ttf" WGET_URL="${WEB_SITE}pub/$PACKAGE/$PACKAGE-$VERSION/font-builds/$TARBALL" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*/*/*} 2>/dev/null | \ sed '/href="unifont-[0-9]/!d;s|.*href="unifont-||;s|/.*||' | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { mkdir -p $install/usr/share/fonts/$PACKAGE cp -a $src/* $install/usr/share/fonts/$PACKAGE } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }