wok-6.x view fontconfig-infinality/receipt @ rev 24742

updated libffcall (2.2 -> 2.4)
author Hans-G?nter Theisgen
date Wed Mar 16 10:31:26 2022 +0100 (2022-03-16)
parents e3f377fbc5f0
children 429ffdcd660a
line source
1 # SliTaz package receipt.
3 PACKAGE="fontconfig-infinality"
4 VERSION="1-20130104_1"
5 CATEGORY="x-window"
6 SHORT_DESC="Infinality addition for fontconfig"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/fontconfig/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://www.infinality.net/fedora/linux/zips/$TARBALL"
12 CONFIG_FILES="/etc/fonts/infinality/infinality.conf"
14 DEPENDS="fontconfig"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/bohoomil/fontconfig-ultimate/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|-||g;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p \
27 $fs/etc/fonts \
28 $fs/usr/bin
29 cp -r $src/* $fs/etc/fonts
30 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin
31 # ported to Ash
32 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \
33 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \
34 $fs/usr/bin/infctl.sh
35 }