summaryrefslogtreecommitdiffstats
path: root/source/x/liberation-fonts-ttf/liberation-fonts-ttf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/liberation-fonts-ttf/liberation-fonts-ttf.SlackBuild')
-rwxr-xr-xsource/x/liberation-fonts-ttf/liberation-fonts-ttf.SlackBuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/source/x/liberation-fonts-ttf/liberation-fonts-ttf.SlackBuild b/source/x/liberation-fonts-ttf/liberation-fonts-ttf.SlackBuild
index be9850514..dca479f61 100755
--- a/source/x/liberation-fonts-ttf/liberation-fonts-ttf.SlackBuild
+++ b/source/x/liberation-fonts-ttf/liberation-fonts-ttf.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2012, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=liberation-fonts-ttf
-VERSION=2.00.5
+VERSION=2.1.0
ARCH=noarch
BUILD=${BUILD:-1}
@@ -57,17 +57,9 @@ cp -a *.ttf $PKG/usr/share/fonts/TTF/
mkdir -p $PKG/usr/doc/liberation-fonts-ttf-$VERSION
cp -a \
- AUTHORS COPYING* License.txt LICENSE README* TODO \
+ $CWD/docs/* \
$PKG/usr/doc/liberation-fonts-ttf-$VERSION
-# If there's a ChangeLog, installing at least part of the recent history
-# is useful, but don't let it get totally out of control:
-if [ -r ChangeLog ]; then
- DOCSDIR=$(echo $PKG/usr/doc/*-$VERSION)
- cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
- touch -r ChangeLog $DOCSDIR/ChangeLog
-fi
-
mkdir -p $PKG/etc/fonts/conf.{d,avail}
cat $CWD/60-liberation.conf > $PKG/etc/fonts/conf.avail/60-liberation.conf
( cd $PKG/etc/fonts/conf.d && \