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