wok-next diff xorg-font-adobe-utopia-100dpi/receipt @ rev 20142
vlc: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:06:02 2017 +0100 (2017-11-01) |
parents | f463de72afe3 |
children | 757d032c55c7 |
line diff
1.1 --- a/xorg-font-adobe-utopia-100dpi/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/xorg-font-adobe-utopia-100dpi/receipt Wed Nov 01 11:06:02 2017 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xorg-font-adobe-utopia-100dpi" 1.8 VERSION="1.0.4" 1.9 @@ -7,13 +7,13 @@ 1.10 MAINTAINER="al.bobylev@gmail.com" 1.11 LICENSE="other" 1.12 WEB_SITE="https://www.x.org/wiki/" 1.13 -TAGS="font" 1.14 COOKOPTS="!gz" # too long 1.15 1.16 TARBALL="font-adobe-utopia-100dpi-$VERSION.tar.bz2" 1.17 WGET_URL="$XORG_MIRROR/font/$TARBALL" 1.18 1.19 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf" 1.20 +PKG_RULE="std" 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 @@ -21,6 +21,7 @@ 1.25 ./configure \ 1.26 --sysconfdir=/etc \ 1.27 --localstatedir=/var \ 1.28 + --disable-all-encodings \ 1.29 $CONFIGURE_ARGS && 1.30 make && 1.31 make install 1.32 @@ -29,8 +30,13 @@ 1.33 # Rules to gen a SliTaz package suitable for Tazpkg. 1.34 genpkg_rules() 1.35 { 1.36 - copy *.pcf.gz 1.37 + copy @std 1.38 + TAGS="font" 1.39 } 1.40 1.41 -post_install() { chroot "$1/" fc-cache /usr/share/fonts/X11/100dpi; } 1.42 -post_remove() { chroot "$1/" fc-cache; } 1.43 +post_install() { 1.44 + chroot "$1/" fc-cache -r /usr/share/fonts/X11/100dpi 1.45 +} 1.46 +post_remove() { 1.47 + chroot "$1/" fc-cache -r 1.48 +}