wok-next view 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 |
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://github.com/bohoomil/fontconfig-ultimate"
10 HOST_ARCH="any"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://www.infinality.net/fedora/linux/zips/$TARBALL" # FIXME
15 genpkg_rules() {
16 mkdir -p \
17 $fs/etc/fonts \
18 $fs/usr/bin
19 cp -r $src/* $fs/etc/fonts
20 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin
21 # ported to Ash
22 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \
23 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \
24 $fs/usr/bin/infctl.sh
25 DEPENDS="fontconfig"
26 CONFIG_FILES="/etc/fonts/infinality/infinality.conf"
27 }