diff --git a/fonts/bitmap-fonts/SlackBuild b/fonts/bitmap-fonts/SlackBuild index 524749df..3999af49 100755 --- a/fonts/bitmap-fonts/SlackBuild +++ b/fonts/bitmap-fonts/SlackBuild @@ -43,9 +43,12 @@ case $VERSION in ;; esac -mkdir -p "$PKG/usr/share/fonts/" -cp -avr "$REPOSITORY/bitmap/" "$PKG/usr/share/fonts/" -#chmod 0644 "$PKG/usr/share/fonts/*" +mkdir -p "$PKG/usr/share/fonts/bitmap/" + +find "$REPOSITORY/bitmap/" -type f -name \*f -exec cp {} "$PKG/usr/share/fonts/bitmap/" \; +find "$PKG/usr/share/fonts/bitmap/" -name \*f -exec gzip -9 {} \; + +find "$REPOSITORY/bitmap/" -type f -name \*.gz -exec cp {} "$PKG/usr/share/fonts/bitmap/" \; mkdir -p "$PKG/usr/doc/$PRGNAM/" cp -avr "$REPOSITORY/README.md" "$REPOSITORY/screenshots/" "$PKG/usr/doc/$PRGNAM/" diff --git a/fonts/terminus-font-otb/SlackBuild b/fonts/terminus-font-otb/SlackBuild index 040e8cd0..4b24262b 100755 --- a/fonts/terminus-font-otb/SlackBuild +++ b/fonts/terminus-font-otb/SlackBuild @@ -38,7 +38,7 @@ rm -rf $PKG mkdir -p $PKG/usr/share/fonts/misc/ cd $PKG/usr/share/fonts/misc/ -for i in /usr/share/fonts/misc/ter-u*; do +for i in /usr/share/fonts/misc/ter-u*.pcf.gz; do f=$(echo $(basename $i) | sed 's|\.gz$||') zcat $i > $f fonttosfnt -o "${f/pcf/otb}" "$f"