wok-next diff liberation-fonts/receipt @ rev 20859

Update ALSA stack (1.1.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 13:35:43 2018 +0300 (2018-06-27)
parents d1570adae0ba
children df20b2110f7e
line diff
     1.1 --- a/liberation-fonts/receipt	Mon May 09 21:28:29 2016 +0300
     1.2 +++ b/liberation-fonts/receipt	Wed Jun 27 13:35:43 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="liberation-fonts"
     1.8  VERSION="2.00.1"
     1.9 @@ -6,17 +6,19 @@
    1.10  SHORT_DESC="Liberation fonts"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="SIL_OFL"
    1.13 -WEB_SITE="https://www.redhat.com/promo/fonts/"
    1.14 +#WEB_SITE="https://www.redhat.com/promo/fonts/"
    1.15 +WEB_SITE="https://pagure.io/liberation-fonts"
    1.16  
    1.17 -WANTED="liberation-fonts-base"
    1.18 -DEPENDS="liberation-fonts-base"
    1.19 +TARBALL="liberation-fonts-ttf-$VERSION.tar.gz"
    1.20 +WGET_URL="https://releases.pagure.org/liberation-fonts/$TARBALL"
    1.21  
    1.22 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.23 -genpkg_rules()
    1.24 -{
    1.25 -	dir="$fs/usr/share/fonts/truetype/$PACKAGE"
    1.26 +compile_rules() {
    1.27 +	dir="$install/usr/share/fonts/truetype/liberation"
    1.28  	mkdir -p $dir
    1.29 -	cp $src/*.ttf $dir
    1.30 -	rm -f $dir/*Regular.ttf
    1.31 +	cp *.ttf $dir
    1.32  }
    1.33  
    1.34 +genpkg_rules() {
    1.35 +	copy @std
    1.36 +}
    1.37 +