wok-next diff terminus-font/receipt @ rev 21010
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 12 16:40:30 2018 +0300 (2018-10-12) |
parents | 1eb4aacb48ed |
children | 49205cea4356 |
line diff
1.1 --- a/terminus-font/receipt Thu Mar 22 04:47:38 2018 +0200 1.2 +++ b/terminus-font/receipt Fri Oct 12 16:40:30 2018 +0300 1.3 @@ -7,16 +7,15 @@ 1.4 MAINTAINER="al.bobylev@gmail.com" 1.5 LICENSE="OFL" 1.6 WEB_SITE="http://terminus-font.sourceforge.net/" 1.7 +HOST_ARCH="any" 1.8 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.11 1.12 BUILD_DEPENDS="python3 xorg-bdftopcf patch" 1.13 -SPLIT="terminus-font-x11 terminus-font-base terminus-font" 1.14 +SPLIT="$PACKAGE-x11 $PACKAGE-base $PACKAGE" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 +compile_rules() { 1.20 for i in dv1 gq2 ij1 ll2 br1; do 1.21 [ -f "patch-$i.done" ] && continue 1.22 echo "Applying patch alt/$i.diff" 1.23 @@ -29,12 +28,14 @@ 1.24 --prefix=/usr \ 1.25 --psfdir=/usr/share/kbd/consolefonts \ 1.26 --x11dir=/usr/share/fonts/X11 && 1.27 - make && make DESTDIR=$install install 1.28 + make && 1.29 + make DESTDIR=$install install || return 1 1.30 + 1.31 + mv OFL.TXT OFL.txt 1.32 + cook_pick_docs OFL.txt README README-BG CHANGES 1.33 } 1.34 1.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 -genpkg_rules() 1.37 -{ 1.38 +genpkg_rules() { 1.39 case $PACKAGE in 1.40 terminus-font-x11) 1.41 copy *.pcf*