wok annotate fontconfig-infinality/receipt @ rev 21115

libaio: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 19 18:51:13 2019 +0100 (2019-03-19)
parents 0cfeeab67116
children 544e47246b33
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
al@14225 16 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14225 17 genpkg_rules()
al@14225 18 {
al@14225 19 mkdir -p \
al@14225 20 $fs/etc/fonts \
al@14225 21 $fs/usr/bin
al@14225 22 cp -r $src/* $fs/etc/fonts
al@14225 23 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin
al@14225 24 # ported to Ash
al@14225 25 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \
al@14225 26 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \
al@14225 27 $fs/usr/bin/infctl.sh
al@14225 28 }