summaryrefslogtreecommitdiff
path: root/source/x/liberation-fonts-ttf
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/liberation-fonts-ttf')
-rwxr-xr-xsource/x/liberation-fonts-ttf/liberation-fonts-ttf.SlackBuild21
-rw-r--r--source/x/liberation-fonts-ttf/slack-desc20
2 files changed, 25 insertions, 16 deletions
diff --git a/source/x/liberation-fonts-ttf/liberation-fonts-ttf.SlackBuild b/source/x/liberation-fonts-ttf/liberation-fonts-ttf.SlackBuild
index 6d6c4ab7..8f5f8ecd 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/sh
+#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2012 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2018 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -20,12 +20,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
-VERSION=1.07.4
+PKGNAM=liberation-fonts-ttf
+VERSION=2.00.1
ARCH=noarch
-BUILD=1
+BUILD=${BUILD:-2}
+
+# 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 "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-liberation-fonts-ttf
@@ -48,7 +57,7 @@ cp -a *.ttf $PKG/usr/share/fonts/TTF/
mkdir -p $PKG/usr/doc/liberation-fonts-ttf-$VERSION
cp -a \
- AUTHORS COPYING* License.txt README* TODO \
+ AUTHORS COPYING* License.txt LICENSE README* TODO \
$PKG/usr/doc/liberation-fonts-ttf-$VERSION
# If there's a ChangeLog, installing at least part of the recent history
diff --git a/source/x/liberation-fonts-ttf/slack-desc b/source/x/liberation-fonts-ttf/slack-desc
index 4692800f..78359cbe 100644
--- a/source/x/liberation-fonts-ttf/slack-desc
+++ b/source/x/liberation-fonts-ttf/slack-desc
@@ -1,19 +1,19 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
+# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
liberation-fonts-ttf: liberation-fonts-ttf (Liberation TTF Fonts)
liberation-fonts-ttf:
-liberation-fonts-ttf: Liberation is the collective name of three TrueType font
-liberation-fonts-ttf: families: Liberation Sans, Liberation Serif and Liberation
-liberation-fonts-ttf: Mono. These fonts are metric-compatible with Arial, Times
-liberation-fonts-ttf: New Roman, and Courier New respectively.
+liberation-fonts-ttf: Liberation is the collective name of three TrueType font families:
+liberation-fonts-ttf: Liberation Sans, Liberation Serif and Liberation Mono. These fonts are
+liberation-fonts-ttf: metric-compatible with Arial, Times New Roman, and Courier New
+liberation-fonts-ttf: respectively.
liberation-fonts-ttf:
-liberation-fonts-ttf: The fonts were developed by Steve Matteson of Ascender Corp.
-liberation-fonts-ttf: for Red Hat, Inc.
+liberation-fonts-ttf: The fonts were developed by Steve Matteson of Ascender Corp. and
+liberation-fonts-ttf: Pravin Satpute for Red Hat, Inc.
liberation-fonts-ttf:
liberation-fonts-ttf: