summaryrefslogtreecommitdiffstats
path: root/source/x/ttf-indic-fonts
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/ttf-indic-fonts')
-rw-r--r--source/x/ttf-indic-fonts/slack-desc8
-rwxr-xr-xsource/x/ttf-indic-fonts/ttf-indic-fonts.SlackBuild16
2 files changed, 17 insertions, 7 deletions
diff --git a/source/x/ttf-indic-fonts/slack-desc b/source/x/ttf-indic-fonts/slack-desc
index 194bcbb4c..9e07f3d28 100644
--- a/source/x/ttf-indic-fonts/slack-desc
+++ b/source/x/ttf-indic-fonts/slack-desc
@@ -1,15 +1,15 @@
# 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------------------------------------------------------|
ttf-indic-fonts: ttf-indic-fonts (Fonts for Indic scripts)
ttf-indic-fonts:
ttf-indic-fonts: This is a collection of free fonts that support some of the more
-ttf-indic-fonts: widely used Indic scripts. Included are TTF fonts for Bengali,
+ttf-indic-fonts: widely used Indic scripts. Included are TTF fonts for Bengali,
ttf-indic-fonts: Devanagari, Gujarati, Kannada, Malayalam, Oriya, Punjabi, Tamil,
ttf-indic-fonts: and Telugu.
ttf-indic-fonts:
diff --git a/source/x/ttf-indic-fonts/ttf-indic-fonts.SlackBuild b/source/x/ttf-indic-fonts/ttf-indic-fonts.SlackBuild
index 338b5edd7..249446df6 100755
--- a/source/x/ttf-indic-fonts/ttf-indic-fonts.SlackBuild
+++ b/source/x/ttf-indic-fonts/ttf-indic-fonts.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2008, 2009, 2013 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
@@ -20,11 +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)
+
+PKGNAM=ttf-indic-fonts
VERSION=0.5.14
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-ttf-indic-fonts