This commit is contained in:
Gwenhael Le Moine 2020-08-17 15:12:26 +02:00
parent d50b2028c4
commit a21a4b91ca
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -29,8 +29,8 @@ VERSION=${VERSION:-$(ls /usr/doc/ | grep terminus-font | rev | cut -d- -f1 | rev
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-gwh} TAG=${TAG:-gwh}
TMP=${TMP:-/tmp/$TAG} TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM PKG=$TMP/$TAG/package-$PKGNAM
rm -rf $PKG rm -rf $PKG
@ -63,8 +63,8 @@ $PKGNAM:
$PKGNAM: $PKGNAM:
$PKGNAM: $PKGNAM:
$PKGNAM: $PKGNAM:
$PKGNAM: Homepage: http://$PKGNAM.sourceforge.net $PKGNAM: Homepage: http://terminus-font.sourceforge.net
$PKGNAM: https://github.com/archlinux/svntogit-community/tree/packages/terminus-font-otb/trunk $PKGNAM:
$PKGNAM: $PKGNAM:
$PKGNAM: $PKGNAM:
EOF EOF
@ -72,12 +72,8 @@ EOF
cat <<EOF > $PKG/install/doinst.sh cat <<EOF > $PKG/install/doinst.sh
#!/bin/sh #!/bin/sh
# Update the X font indexes: # Update the X font indexes:
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ] && mkfontdir /usr/share/fonts/misc 2> /dev/null
mkfontdir usr/share/fonts/misc 2> /dev/null [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache -f 2> /dev/null
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f 2> /dev/null
fi
EOF EOF
cd $PKG cd $PKG