# SliTaz package receipt. PACKAGE="ttf-open-dyslexic" VERSION="20160623" CATEGORY="fonts" TAGS="font ttf" SHORT_DESC="TrueType font to increase readability for dyslexic readers." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="CC-SA" WEB_SITE="https://opendyslexic.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/antijingoist/open-dyslexic/archive/$VERSION-Stable.tar.gz" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\)-Stable.tar.*|\1|;q' } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { TTFDIR=$fs/usr/share/fonts/TTF/OpenDyslexic mkdir -p $TTFDIR install -m644 $src/ttf/*.ttf $TTFDIR }