# SliTaz package receipt. PACKAGE="ttf-bwahh" VERSION="0.1" CATEGORY="fonts" SHORT_DESC="Bwahh is public domain and futuristic display truetype font." MAINTAINER="hackdorte@sapo.pt" LICENSE="PublicDomain" SOURCE="bwahh" WEB_SITE="http://people.slitaz.org/~leonardolaporte" STUFF_DIR="lab.slitaz/5.0/pkg/font/publicdomain" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}/$STUFF_DIR/$TARBALL" TAGS="font ttf" DEPENDS="" BUILD_DEPENDS="wget" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { mkdir -p $install/usr/share/fonts/pd/$SOURCE cp -a $src/* $install/usr/share/fonts/pd/$SOURCE } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs } post_install() { chroot "$1/" /usr/bin/fc-cache }