summaryrefslogtreecommitdiff
path: root/system/google-droid-fonts/google-droid-fonts.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2014-11-19 07:33:21 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-22 07:20:29 +0700
commit3f4acb5ced3acb8b4c2c06bb4f7f9329662869b1 (patch)
treeb45d0b564f72fac96f894a4ed5ac998b49d38328 /system/google-droid-fonts/google-droid-fonts.SlackBuild
parent67b16cb52be2a48827398717e713a0d8a9e33c69 (diff)
downloadslackbuilds-3f4acb5ced3acb8b4c2c06bb4f7f9329662869b1.tar.gz
system/google-droid-fonts: Updated for version 20141010.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'system/google-droid-fonts/google-droid-fonts.SlackBuild')
-rw-r--r--system/google-droid-fonts/google-droid-fonts.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/system/google-droid-fonts/google-droid-fonts.SlackBuild b/system/google-droid-fonts/google-droid-fonts.SlackBuild
index 0d89b40bb5..672652b189 100644
--- a/system/google-droid-fonts/google-droid-fonts.SlackBuild
+++ b/system/google-droid-fonts/google-droid-fonts.SlackBuild
@@ -2,8 +2,9 @@
# Slackware build script for google-droid-fonts
+# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
+
# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
-# Copyright 2014 Ryan P.C. McQuen, WA, ryan.q@linux.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +25,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=google-droid-fonts
-VERSION=${VERSION:-20140228}
-SRCVERSION=4.x
+VERSION=${VERSION:-20141010}
+SRCVERSION=5.x
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,16 +45,16 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-tar -xvzf $CWD/$SRCVERSION.fonts.tar.gz
+tar xvf $CWD/platform_frameworks_base-$SRCVERSION-$VERSION-fonts.tar.xz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/share/fonts/TTF
-cp -a platform_frameworks_base-$SRCVERSION.fonts/fonts/*.ttf $PKG/usr/share/fonts/TTF
+cp -a platform_frameworks_base-$SRCVERSION-fonts/fonts/*.ttf $PKG/usr/share/fonts/TTF
# Create a font config file. It was taken from
# http://www.vcn.bc.ca/~dugan/slackware-fonts/
@@ -61,7 +62,6 @@ mkdir -p $PKG/etc/fonts/conf.avail
cat $CWD/35-droid.conf > $PKG/etc/fonts/conf.avail/35-droid.conf
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a platform_frameworks_base-$SRCVERSION.fonts/fonts/{NOTICE,README.txt} $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install