aboutsummaryrefslogtreecommitdiff
path: root/system/otf-ibm-plex/otf-ibm-plex.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/otf-ibm-plex/otf-ibm-plex.SlackBuild')
-rw-r--r--system/otf-ibm-plex/otf-ibm-plex.SlackBuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/system/otf-ibm-plex/otf-ibm-plex.SlackBuild b/system/otf-ibm-plex/otf-ibm-plex.SlackBuild
index 5dedabddb4..94a5b45973 100644
--- a/system/otf-ibm-plex/otf-ibm-plex.SlackBuild
+++ b/system/otf-ibm-plex/otf-ibm-plex.SlackBuild
@@ -21,16 +21,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=otf-ibm-plex
-VERSION=${VERSION:-6.3.0}
+VERSION=${VERSION:-6.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-
ARCH=noarch
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -45,10 +41,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-unzip $CWD/OpenType.zip
-mv OpenType $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf plex-$VERSION
+unzip $CWD/plex-${VERSION}.zip
+cd plex-${VERSION}
+unzip $CWD/ibm-plex-sans-sc.zip
+unzip $CWD/ibm-plex-sans-tc.zip
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -56,12 +53,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
mkdir -p $PKG/usr/share/fonts/OTF
find . -name "*.otf" -exec cp {} $PKG/usr/share/fonts/OTF/ \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a IBM-Plex-Mono/license.txt $PKG/usr/doc/$PRGNAM-$VERSION/
+cp LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION/
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install