wok-next diff xorg-font-cursor-misc/receipt @ rev 19935

cloudvpn: tiny patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 15 14:27:05 2017 +0200 (2017-10-15)
parents f463de72afe3
children 757d032c55c7
line diff
     1.1 --- a/xorg-font-cursor-misc/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xorg-font-cursor-misc/receipt	Sun Oct 15 14:27:05 2017 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-font-cursor-misc"
     1.8  VERSION="1.0.3"
     1.9 @@ -7,12 +7,12 @@
    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  
    1.15  TARBALL="font-cursor-misc-$VERSION.tar.bz2"
    1.16  WGET_URL="$XORG_MIRROR/font/$TARBALL"
    1.17  
    1.18  BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf"
    1.19 +PKG_RULE="std"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23 @@ -28,8 +28,13 @@
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	copy *.pcf.gz
    1.28 +	copy @std
    1.29 +	TAGS="font"
    1.30  }
    1.31  
    1.32 -post_install() { chroot "$1/" fc-cache /usr/share/fonts/X11/misc; }
    1.33 -post_remove()  { chroot "$1/" fc-cache; }
    1.34 +post_install() {
    1.35 +	chroot "$1/" fc-cache -r /usr/share/fonts/X11/misc
    1.36 +}
    1.37 +post_remove() {
    1.38 +	chroot "$1/" fc-cache -r
    1.39 +}