aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-05-25 12:11:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-25 12:11:34 +0700
commit6ee5954f665977598e7ac6b57b57ae6ff7e26deb (patch)
treecea86b0ec6a64f1e20814a7baceb68bb5ee9e226
parentdc827f8f030e97981c975a5349275bd1e5b2f64f (diff)
system/google-droid-fonts: Updated for version 20140228.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/google-droid-fonts/google-droid-fonts.SlackBuild18
-rw-r--r--system/google-droid-fonts/google-droid-fonts.info10
2 files changed, 15 insertions, 13 deletions
diff --git a/system/google-droid-fonts/google-droid-fonts.SlackBuild b/system/google-droid-fonts/google-droid-fonts.SlackBuild
index a243989a987b..0d89b40bb509 100644
--- a/system/google-droid-fonts/google-droid-fonts.SlackBuild
+++ b/system/google-droid-fonts/google-droid-fonts.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for google-droid-fonts
# 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
@@ -23,7 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=google-droid-fonts
-VERSION=${VERSION:-20100409}
+VERSION=${VERSION:-20140228}
+SRCVERSION=4.x
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,16 +44,16 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-rpm2cpio < $CWD/$PRGNAM-$VERSION-2.fc15.src.rpm | cpio -imdv
+tar -xvzf $CWD/$SRCVERSION.fonts.tar.gz
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 \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
mkdir -p $PKG/usr/share/fonts/TTF
-cp -a *.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/
@@ -59,7 +61,7 @@ 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 NOTICE README.txt $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
diff --git a/system/google-droid-fonts/google-droid-fonts.info b/system/google-droid-fonts/google-droid-fonts.info
index 6fb034caec49..66dd881f9d50 100644
--- a/system/google-droid-fonts/google-droid-fonts.info
+++ b/system/google-droid-fonts/google-droid-fonts.info
@@ -1,10 +1,10 @@
PRGNAM="google-droid-fonts"
-VERSION="20100409"
+VERSION="20140228"
HOMEPAGE="http://www.droidfonts.com/"
-DOWNLOAD="http://kojipkgs.fedoraproject.org//packages/google-droid-fonts/20100409/2.fc15/src/google-droid-fonts-20100409-2.fc15.src.rpm"
-MD5SUM="25c9afe2f32e804ea0bbccfbb10e609c"
+DOWNLOAD="https://github.com/ryanpcmcquen/platform_frameworks_base/archive/4.x.fonts.tar.gz"
+MD5SUM="e902bf978badfa58f1af053a5a8da14d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Binh Nguyen"
-EMAIL="binhvng@gmail.com"
+MAINTAINER="Ryan P.C. McQuen"
+EMAIL="ryan.q@linux.com"