wok-next annotate fontconfig-infinality/receipt @ rev 21057
Deal with HOST_ARCH="any"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 03 14:47:30 2018 +0200 (2018-12-03) |
parents | d5aab818505e |
children | 69bb65a67c90 |
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" |
al@20906 | 9 WEB_SITE="https://github.com/bohoomil/fontconfig-ultimate" |
al@21057 | 10 HOST_ARCH="any" |
al@21020 | 11 |
al@14225 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20906 | 13 WGET_URL="http://www.infinality.net/fedora/linux/zips/$TARBALL" # FIXME |
al@14225 | 14 |
al@21020 | 15 genpkg_rules() { |
al@14225 | 16 mkdir -p \ |
al@14225 | 17 $fs/etc/fonts \ |
al@14225 | 18 $fs/usr/bin |
al@14225 | 19 cp -r $src/* $fs/etc/fonts |
al@14225 | 20 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin |
al@14225 | 21 # ported to Ash |
al@14225 | 22 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \ |
al@14225 | 23 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \ |
al@14225 | 24 $fs/usr/bin/infctl.sh |
al@21020 | 25 DEPENDS="fontconfig" |
al@21020 | 26 CONFIG_FILES="/etc/fonts/infinality/infinality.conf" |
al@14225 | 27 } |