wok annotate xorg-base-fonts/receipt @ rev 25176

updated python-formalchemy (1.5.5 -> 1.5.6)
author Hans-G?nter Theisgen
date Fri Jul 01 17:52:21 2022 +0100 (23 months ago)
parents 814c58f64f83
children
rev   line source
pankso@87 1 # SliTaz package receipt.
pankso@87 2
pankso@87 3 PACKAGE="xorg-base-fonts"
pankso@710 4 VERSION="1.2"
pankso@87 5 CATEGORY="x-window"
pankso@87 6 SHORT_DESC="X window base/minimal fonts from the Xorg project."
pankso@87 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
pankso@87 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20423 10 WEB_SITE="https://www.x.org/"
pankso@87 11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL"
pankso@16063 12 HOST_ARCH="i486 arm"
pankso@87 13
pascal@19248 14 BUILD_DEPENDS="advancecomp"
pascal@19248 15
pascal@24072 16 current_version()
pascal@24072 17 {
pascal@24072 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 20 }
pascal@24072 21
pascal@19248 22 # Rules to configure and make the package.
pascal@19248 23 compile_rules()
pascal@19248 24 {
pascal@19248 25 find $src/fonts -name '*.gz' -exec advdef -z4 {} \;
pascal@19248 26 }
pascal@19248 27
pankso@87 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@87 29 genpkg_rules()
pankso@87 30 {
psychomaniak@18033 31 fontpath="$fs/usr/share/fonts/X11/misc"
psychomaniak@18033 32 mkdir -p $fontpath $fs/usr/share/fonts/X11/util
psychomaniak@18033 33 install -m644 -oroot -groot $src/fonts/misc/* $fontpath
al@17927 34 install -m644 -oroot -groot $src/fonts/util/* $fs/usr/share/fonts/X11/util
psychomaniak@18528 35 rm -rf $fontpath/6x13-ISO8859-1.pcf.gz $fontpath/cursor.pcf.gz # libXfont buitins
al@17925 36 sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \
psychomaniak@18033 37 $fontpath/fonts.dir
pankso@87 38 }
pankso@87 39
al@18582 40 # Execute fc-cache when the package finish to install.
pankso@87 41 post_install()
pankso@87 42 {
al@18582 43 # It may be segfault without -f or -r
pascal@18730 44 chroot "$1/" /usr/bin/fc-cache -r
pankso@87 45 }