summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/gnu-unifont/gnu-unifont.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/gnu-unifont/gnu-unifont.SlackBuild b/system/gnu-unifont/gnu-unifont.SlackBuild
index ad05b4f6d3..0dbcfff423 100644
--- a/system/gnu-unifont/gnu-unifont.SlackBuild
+++ b/system/gnu-unifont/gnu-unifont.SlackBuild
@@ -105,6 +105,9 @@ if [ "$FONTSCOPIED" -eq 0 ]; then
exit 1
fi
+# Keep the fonts names unversioned
+find -L $PKG/usr/share -type f -name "*-$VERSION*" -exec rename -- "-$VERSION" '' {} \;
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild