# SliTaz package receipt. PACKAGE="liberation-fonts-base" VERSION="2.00.1" CATEGORY="fonts" SHORT_DESC="Liberation fonts (only regular)" MAINTAINER="al.bobylev@gmail.com" LICENSE="SIL_OFL" WEB_SITE="https://www.redhat.com/promo/fonts/" SOURCE="liberation-fonts" TARBALL="$SOURCE-ttf-$VERSION.tar.gz" WGET_URL="https://fedorahosted.org/releases/l/i/$SOURCE/$TARBALL" BUILD_DEPENDS="wget" # What is the latest version available today? current_version() { wget -O - https://github.com/liberationfonts/liberation-fonts/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { dir="$fs/usr/share/fonts/truetype/$SOURCE" mkdir -p $dir cp $src/*Regular.ttf $dir }