wok-next diff ttf-roboto/receipt @ rev 21040
mariadb 10.3.10 (again)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 09:48:29 2018 +0200 (2018-11-09) |
parents | d43bf7aae921 |
children |
line diff
1.1 --- a/ttf-roboto/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/ttf-roboto/receipt Fri Nov 09 09:48:29 2018 +0200 1.3 @@ -11,21 +11,17 @@ 1.4 TARBALL="roboto-hinted-$VERSION.zip" 1.5 WGET_URL="https://github.com/google/roboto/releases/download/v$VERSION/roboto-hinted.zip" 1.6 1.7 -SPLIT="ttf-roboto-base ttf-roboto" 1.8 +SPLIT="$PACKAGE-base $PACKAGE" 1.9 1.10 -# Rules to configure and make the package. 1.11 -compile_rules() 1.12 -{ 1.13 +compile_rules() { 1.14 FONTPATH=$install/usr/share/fonts/truetype/ttf-roboto 1.15 mkdir -p $FONTPATH 1.16 install -Dm644 $src/*.ttf $FONTPATH 1.17 } 1.18 1.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 -genpkg_rules() 1.21 -{ 1.22 +genpkg_rules() { 1.23 case $PACKAGE in 1.24 - ttf-roboto-base) 1.25 + *-base) 1.26 copy Roboto-Regular.ttf Roboto-Bold.ttf Roboto-Italic.ttf \ 1.27 Roboto-BoldItalic.ttf 1.28 CAT="fonts|base family"