summaryrefslogtreecommitdiffstats
path: root/system/freefont/freefont.SlackBuild
diff options
context:
space:
mode:
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