aboutsummaryrefslogtreecommitdiff
path: root/system/adobe-source-sans-pro-font
diff options
context:
space:
mode:
authorDugan Chen <thedoogster@gmail.com>2014-09-02 09:16:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-06 00:02:49 +0700
commitf295321e1aee52e978ceacb756f5971a63af4260 (patch)
treeef7d20062dbeec354d169062c796f7f273333c2a /system/adobe-source-sans-pro-font
parent613c88e32e4fd468c58afeaf4e24e38d98ce4fea (diff)
system/adobe-source-sans-pro-font: Updated for version 2.10roman.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/adobe-source-sans-pro-font')
-rw-r--r--system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild23
-rw-r--r--system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info8
2 files changed, 22 insertions, 9 deletions
diff --git a/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild b/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild
index 339fa5b7e2c05..dc0ff70105769 100644
--- a/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild
+++ b/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild
@@ -26,8 +26,21 @@
# Currently maintained by Dugan Chen.
PRGNAM=adobe-source-sans-pro-font
-VERSION=${VERSION:-1.050}
-SRC=SourceSansPro_FontsOnly-${VERSION}
+
+# ahem
+
+# The version in the tarball
+SRCVERSION=${VERSION:-2.010roman-1.065-italic}
+
+# The version in the package
+VERSION=${PKG_VERSION:-2.010ro1.065it}
+
+# The version in the untarred source directory
+SRC_VERSION=2.010R-ro-1.065R-it
+
+SRC=SourceSansPro_FontsOnly-${SRCVERSION}
+SRCDIR=source-sans-pro-${SRC_VERSION}
+
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,15 +56,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${SRC}
+rm -rf ${SRCDIR}
unzip $CWD/${SRC}.zip
-cd ${SRC}
+cd $SRCDIR
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 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/OTF/
cp OTF/*.otf $PKG/usr/share/fonts/OTF/
diff --git a/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info b/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info
index 2aacb307ab031..3718bd6d26a99 100644
--- a/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info
+++ b/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info
@@ -1,8 +1,8 @@
PRGNAM="adobe-source-sans-pro-font"
-VERSION="1.050"
-HOMEPAGE="https://github.com/adobe/Source-Sans-Pro"
-DOWNLOAD="http://downloads.sourceforge.net/sourcesans.adobe/SourceSansPro_FontsOnly-1.050.zip"
-MD5SUM="fb09802ab1ce200da18dc6f7ed5671b0"
+VERSION="2.10roman1.065italic"
+HOMEPAGE="https://github.com/adobe-fonts/source-sans-pro"
+DOWNLOAD="http://downloads.sourceforge.net/project/sourcesans.adobe/SourceSansPro_FontsOnly-2.010roman-1.065-italic.zip"
+MD5SUM="b98305cb885ac19be8bcdb8e8ec46dd1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""