summaryrefslogtreecommitdiffstats
path: root/system/freefont/freefont.SlackBuild
diff options
context:
space:
mode:
author Matthew Fillpot2012-11-20 20:11:55 +0100
committer Robby Workman2012-11-20 20:11:55 +0100
commit176b7a6ea1566ecc4f596a4aaf5f563b77f1abfb (patch)
tree02709735f01800b8cf1b2e9992611857fdf6afd5 /system/freefont/freefont.SlackBuild
parentf01eea0303d967c9cb0dd3ed49882e72bda473b6 (diff)
downloadslackbuilds-176b7a6ea1566ecc4f596a4aaf5f563b77f1abfb.tar.gz
system/freefont: Updated for version 20120503.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/freefont/freefont.SlackBuild')
-rw-r--r--system/freefont/freefont.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/system/freefont/freefont.SlackBuild b/system/freefont/freefont.SlackBuild
index 600202ea39..b2aa1e1bbf 100644
--- a/system/freefont/freefont.SlackBuild
+++ b/system/freefont/freefont.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for GNU FreeFont
-# Copyright 2011 Matthew "mfillpot" Fillpot
+# Copyright 2012 Matthew "mfillpot" Fillpot
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,12 +21,12 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
+
# Originally written by Dugan Chen (dugan [underscore] c [at] fastmail [dot] fm)
# Modified by SlackBuilds.org
PRGNAM=freefont
-VERSION=${VERSION:-20100919}
+VERSION=${VERSION:-20120503}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,7 +44,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-ttf-$VERSION.tar.gz
+unzip $CWD/$PRGNAM-ttf-$VERSION.zip -d $TMP
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -59,9 +59,7 @@ cp *.ttf $PKG/usr/share/fonts/TTF
mkdir -p $PKG/etc/fonts/conf.{avail,d}
cp $CWD/35-freefont.conf $PKG/etc/fonts/conf.avail
-( cd $PKG/etc/fonts/conf.d
- ln -sf ../conf.avail/35-freefont.conf
-)
+ln -sf ../conf.avail/35-freefont.conf $PKG/etc/fonts/conf.d/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION