system/ttf-mononoki: Updated for version 1.4.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ac01fa1076
commit
2127817020
|
@ -3,6 +3,7 @@
|
|||
# Slackware build script for ttf-mononoki
|
||||
|
||||
# Copyright 2016-2017,2021 Andrew Clemons, Wellington New Zealand
|
||||
# Copyright 2022 Andrew Clemons, Tokyo Japan
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -26,16 +27,13 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=ttf-mononoki
|
||||
SRCNAM=${PRGNAM#ttf-}
|
||||
VERSION=${VERSION:-1.3}
|
||||
VERSION=${VERSION:-1.4}
|
||||
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
|
||||
|
@ -64,11 +62,11 @@ 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
|
||||
|
||||
install -dm755 $PKG/usr/share/fonts/TTF/
|
||||
install -m644 export/webfont/*.ttf $PKG/usr/share/fonts/TTF/
|
||||
install -m644 export/*.ttf $PKG/usr/share/fonts/TTF/
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
CONTRIBUTING.md LICENSE README.md \
|
||||
README.md \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="ttf-mononoki"
|
||||
VERSION="1.3"
|
||||
VERSION="1.4"
|
||||
HOMEPAGE="https://github.com/madmalik/mononoki"
|
||||
DOWNLOAD="https://github.com/madmalik/mononoki/archive/1.3/mononoki-1.3.tar.gz"
|
||||
MD5SUM="48c04185ec480173990d6b8853662da5"
|
||||
DOWNLOAD="https://github.com/madmalik/mononoki/archive/1.4/mononoki-1.4.tar.gz"
|
||||
MD5SUM="bd720e62926e9b159e1406f4ba8f62c2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue