wok diff xorg-base-fonts/receipt @ rev 18252
Add some lang packages for tesseract-ocr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 03 16:02:13 2015 +0200 (2015-08-03) |
parents | ac769de6c7c1 |
children | e41fa59d3e5e |
line diff
1.1 --- a/xorg-base-fonts/receipt Tue Apr 28 10:50:53 2015 +0200 1.2 +++ b/xorg-base-fonts/receipt Mon Aug 03 16:02:13 2015 +0200 1.3 @@ -14,13 +14,13 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr/share/fonts/X11/misc $fs/usr/share/fonts/X11/util 1.8 - install -m644 -oroot -groot $src/fonts/misc/* $fs/usr/share/fonts/X11/misc 1.9 + fontpath="$fs/usr/share/fonts/X11/misc" 1.10 + mkdir -p $fontpath $fs/usr/share/fonts/X11/util 1.11 + install -m644 -oroot -groot $src/fonts/misc/* $fontpath 1.12 install -m644 -oroot -groot $src/fonts/util/* $fs/usr/share/fonts/X11/util 1.13 - fontpath="$fs/usr/share/fonts/X11/misc" 1.14 rm -rf $fontpath/cursor.pcf.gz $fontpath/6x13.pcf.gz 1.15 sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \ 1.16 - $fs/usr/share/fonts/X11/misc/fonts.dir 1.17 + $fontpath/fonts.dir 1.18 } 1.19 1.20 # Execute fc-cache when the package finish ti install.