wok annotate fontconfig-infinality/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (3 months ago) |
parents | a66f312c374b |
children |
rev | line source |
---|---|
al@14225 | 1 # SliTaz package receipt. |
al@14225 | 2 |
al@14225 | 3 PACKAGE="fontconfig-infinality" |
pascal@25100 | 4 GITHASH="a6372281b91f0bc8b6c0d7ce2c9da41df65806ec" |
pascal@25100 | 5 VERSION="20160915" |
al@14225 | 6 CATEGORY="x-window" |
al@14225 | 7 SHORT_DESC="Infinality addition for fontconfig" |
al@14225 | 8 MAINTAINER="al.bobylev@gmail.com" |
pascal@15593 | 9 LICENSE="MIT" |
pascal@20673 | 10 WEB_SITE="https://www.freedesktop.org/wiki/Software/fontconfig/" |
pascal@25100 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@25691 | 12 WGET_URL="https://github.com/dkasak/$PACKAGE/archive/$GITHASH.zip" |
al@18555 | 13 CONFIG_FILES="/etc/fonts/infinality/infinality.conf" |
al@14225 | 14 |
al@14225 | 15 DEPENDS="fontconfig" |
al@14225 | 16 |
pascal@24540 | 17 # What is the latest version available today? |
pascal@24540 | 18 current_version() |
pascal@24540 | 19 { |
pascal@25610 | 20 wget -O - https://github.com/bohoomil/fontconfig-ultimate/commits/master 2>/dev/null | \ |
pascal@25674 | 21 sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q' |
pascal@24540 | 22 } |
pascal@24540 | 23 |
al@14225 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14225 | 25 genpkg_rules() |
al@14225 | 26 { |
al@14225 | 27 mkdir -p \ |
al@14225 | 28 $fs/etc/fonts \ |
al@14225 | 29 $fs/usr/bin |
al@14225 | 30 cp -r $src/* $fs/etc/fonts |
al@14225 | 31 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin |
al@14225 | 32 # ported to Ash |
al@14225 | 33 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \ |
al@14225 | 34 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \ |
al@14225 | 35 $fs/usr/bin/infctl.sh |
al@14225 | 36 } |