wok-next diff xorg-base-fonts/receipt @ rev 19957
Up fuse-emulator, gpgme, libnetfilter_conntrack, libnetfilter_cthelper, libnetfilter_cttimeout, libnetfilter_queue, libnfnetlink, libsdl, libspectrum, libstatgrab, libstroke, subversion, sysfsutils, taglib, tcl, tcpcrypt, tidy, tk, tokyocabinet, udisks2. Add fuse-emulator-gtk3, libblockdev, libbytesize, libstroke, volume_key.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 16 22:34:14 2017 +0300 (2017-10-16) |
parents | d5d1aacad4ba |
children | c4e53a39395a |
line diff
1.1 --- a/xorg-base-fonts/receipt Wed Jun 29 13:04:18 2016 +0200 1.2 +++ b/xorg-base-fonts/receipt Mon Oct 16 22:34:14 2017 +0300 1.3 @@ -1,39 +1,38 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xorg-base-fonts" 1.8 VERSION="1.2" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="X window base/minimal fonts from the Xorg project." 1.11 +SHORT_DESC="X window base/minimal fonts from the Xorg project" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="MIT" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 -WEB_SITE="http://www.x.org/" 1.16 -WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL" 1.17 +WEB_SITE="https://www.x.org/wiki/" 1.18 HOST_ARCH="i486 arm" 1.19 1.20 -BUILD_DEPENDS="advancecomp" 1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.22 +WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL" 1.23 +PKG_RULE="std" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - find $src/fonts -name '*.gz' -exec advdef -z4 {} \; 1.29 + f="$install/usr/share/fonts/X11" 1.30 + mkdir -p $f 1.31 + cp -r $src/fonts/misc $src/fonts/util $f 1.32 + rm -rf $f/misc/6x13-ISO8859-1.pcf.gz $f/misc/cursor.pcf.gz # libXfont buitins 1.33 + sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \ 1.34 + $f/misc/fonts.dir 1.35 + find $install -type f -exec chmod 644 '{}' \; 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 genpkg_rules() 1.40 { 1.41 - fontpath="$fs/usr/share/fonts/X11/misc" 1.42 - mkdir -p $fontpath $fs/usr/share/fonts/X11/util 1.43 - install -m644 -oroot -groot $src/fonts/misc/* $fontpath 1.44 - install -m644 -oroot -groot $src/fonts/util/* $fs/usr/share/fonts/X11/util 1.45 - rm -rf $fontpath/6x13-ISO8859-1.pcf.gz $fontpath/cursor.pcf.gz # libXfont buitins 1.46 - sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \ 1.47 - $fontpath/fonts.dir 1.48 + copy @std 1.49 } 1.50 1.51 # Execute fc-cache when the package finish to install. 1.52 -post_install() 1.53 -{ 1.54 - # It may be segfault without -f or -r 1.55 +# It may be segfault without -f or -r 1.56 +post_install() { 1.57 chroot "$1/" /usr/bin/fc-cache -r 1.58 }