wok-next diff xorg-font-ibm-type1/receipt @ rev 19925

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:27:36 2017 +0200 (2017-10-14)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/xorg-font-ibm-type1/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xorg-font-ibm-type1/receipt	Sat Oct 14 23:27:36 2017 +0200
     1.3 @@ -1,18 +1,18 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-font-ibm-type1"
     1.8  VERSION="1.0.3"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="IBM Courier Type1 font"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 -LICENSE="other"
    1.13 +LICENSE="MIT"
    1.14  WEB_SITE="https://www.x.org/wiki/"
    1.15 -TAGS="font"
    1.16  
    1.17  TARBALL="font-ibm-type1-$VERSION.tar.bz2"
    1.18  WGET_URL="$XORG_MIRROR/font/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir"
    1.21 +PKG_RULE="std"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25 @@ -28,8 +28,13 @@
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27  genpkg_rules()
    1.28  {
    1.29 -	copy *.pfa *.afm
    1.30 +	copy @std
    1.31 +	TAGS="font"
    1.32  }
    1.33  
    1.34 -post_install() { chroot "$1/" fc-cache /usr/share/fonts/X11/Type1; }
    1.35 -post_remove()  { chroot "$1/" fc-cache; }
    1.36 +post_install() {
    1.37 +	chroot "$1/" fc-cache -r /usr/share/fonts/X11/Type1
    1.38 +}
    1.39 +post_remove() {
    1.40 +	chroot "$1/" fc-cache -r
    1.41 +}