wok-next diff ttf-dejavu/receipt @ rev 20715

Up nsd (4.1.21)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 13:10:46 2018 +0300 (2018-05-27)
parents 4ca71b0ef823
children cd7906120828
line diff
     1.1 --- a/ttf-dejavu/receipt	Sun Jun 25 14:29:39 2017 +0300
     1.2 +++ b/ttf-dejavu/receipt	Sun May 27 13:10:46 2018 +0300
     1.3 @@ -7,7 +7,6 @@
     1.4  MAINTAINER="al.bobylev@gmail.com"
     1.5  LICENSE="other"
     1.6  WEB_SITE="https://dejavu-fonts.github.io/"
     1.7 -HOST_ARCH="i486 arm"
     1.8  
     1.9  TARBALL="dejavu-fonts-ttf-$VERSION.tar.bz2"
    1.10  WGET_URL="$SF_MIRROR/dejavu/$TARBALL"
    1.11 @@ -15,9 +14,7 @@
    1.12  BUILD_DEPENDS="shared-mime-info fontforge"
    1.13  SPLIT="ttf-dejavu-extra"
    1.14  
    1.15 -# Rules to configure and make the package.
    1.16 -compile_rules()
    1.17 -{
    1.18 +compile_rules() {
    1.19  	# Install/repack fonts
    1.20  
    1.21  	f=$install/usr/share/fonts/truetype/ttf-dejavu
    1.22 @@ -67,9 +64,7 @@
    1.23  	done
    1.24  }
    1.25  
    1.26 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 -genpkg_rules()
    1.28 -{
    1.29 +genpkg_rules() {
    1.30  	case $PACKAGE in
    1.31  		ttf-dejavu)
    1.32  			copy DejaVuSans.ttf DejaVuSans-Bold.ttf DejaVuSansMono.ttf \
    1.33 @@ -77,8 +72,7 @@
    1.34  			TAGS="font"
    1.35  			;;
    1.36  		ttf-dejavu-extra)
    1.37 -			copy @std
    1.38 -			remove_already_packed
    1.39 +			copy @std @rm
    1.40  			CAT="fonts|extra font styles"
    1.41  			TAGS="font"
    1.42  			;;