wok view cantarell-fonts/receipt @ rev 25421

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 10 07:02:08 2022 +0000 (20 months ago)
parents 29bbdc1ad8ad
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cantarell-fonts"
4 VERSION="0.0.25"
5 CATEGORY="fonts"
6 TAGS="font"
7 SHORT_DESC="Sans serif font family designed for on-screen readability."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="SIL_OFL"
10 WEB_SITE="https://wiki.gnome.org/CantarellFonts"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 DEPENDS="fontconfig"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;/>ca/d" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --with-configdir=/etc/fonts/conf.avail \
28 --with-fontdir=/usr/share/fonts/truetype/cantarell \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }