wok-next annotate xorg-base-fonts/receipt @ rev 20888

Check Repology info from q* to x* packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 14 17:43:03 2018 +0300 (2018-07-14)
parents c4e53a39395a
children
rev   line source
al@19805 1 # SliTaz package receipt v2.
pankso@87 2
pankso@87 3 PACKAGE="xorg-base-fonts"
pankso@710 4 VERSION="1.2"
pankso@87 5 CATEGORY="x-window"
al@19805 6 SHORT_DESC="X window base/minimal fonts from the Xorg project"
pankso@87 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
al@19805 9 WEB_SITE="https://www.x.org/wiki/"
al@20888 10 REPOLOGY="-"
pankso@87 11
al@19805 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19805 13 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL"
al@19805 14 PKG_RULE="std"
pascal@19248 15
pascal@19248 16 # Rules to configure and make the package.
pascal@19248 17 compile_rules()
pascal@19248 18 {
al@19805 19 f="$install/usr/share/fonts/X11"
al@19805 20 mkdir -p $f
al@19805 21 cp -r $src/fonts/misc $src/fonts/util $f
al@19805 22 rm -rf $f/misc/6x13-ISO8859-1.pcf.gz $f/misc/cursor.pcf.gz # libXfont buitins
al@19805 23 sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \
al@19805 24 $f/misc/fonts.dir
al@19805 25 find $install -type f -exec chmod 644 '{}' \;
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 {
al@19805 31 copy @std
pankso@87 32 }
pankso@87 33
al@18582 34 # Execute fc-cache when the package finish to install.
al@19805 35 # It may be segfault without -f or -r
al@19805 36 post_install() {
pascal@18730 37 chroot "$1/" /usr/bin/fc-cache -r
pankso@87 38 }