SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ttf-warenhaus-typenhebel"

# SliTaz package receipt.

PACKAGE="ttf-warenhaus-typenhebel"
VERSION="0.1"
CATEGORY="fonts"
SHORT_DESC="This font is an imitation of an old type writer."
MAINTAINER="hackdorte@sapo.pt"
LICENSE="PublicDomain"
SOURCE="warenhaus-typenhebel"
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
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)