system/ttf-dark-courier: Updated for version 1.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
M.Dinslage 2024-04-04 11:03:26 +07:00 committed by Willy Sudiarto Raharjo
parent 94b42b0232
commit 5f522b7853
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 13 additions and 8 deletions

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ttf-dark-courier
VERSION=${VERSION:-01182001}
VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -46,7 +46,7 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
SRCNAM="DarkCourier"
SRCNAM="dark-courier"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -54,8 +54,13 @@ cd $TMP
rm -rf $SRCNAM $PRGNAM-$VERSION
unzip $CWD/$SRCNAM.zip
mkdir $PRGNAM-$VERSION/
mv dour*.ttf $PRGNAM-$VERSION/
mv *.ttf $PRGNAM-$VERSION/
rm *.txt
cd $PRGNAM-$VERSION
#Remove duplicates
find . -type f -name "*.ttf" -name "* *" -exec rm {} \;
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -67,7 +72,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/fonts/TTF
install -Dm644 dour*.ttf $PKG/usr/share/fonts/TTF/
install -Dm644 *.ttf $PKG/usr/share/fonts/TTF/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="ttf-dark-courier"
VERSION="01182001"
HOMEPAGE="http://www.rolandstroud.com/Fonts-1.html"
DOWNLOAD="http://www.rolandstroud.com/Fonts/DarkCourier.zip"
MD5SUM="fb4c516d6d04761853cfae800798f55e"
VERSION="1.3"
HOMEPAGE="https://www.wfonts.com/font/dark-courier"
DOWNLOAD="https://www.wfonts.com/download/data/2015/06/09/dark-courier/dark-courier.zip"
MD5SUM="220e3feac4ecb8ed8bfec07e79a4f14e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""