aboutsummaryrefslogtreecommitdiff
path: root/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild
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/adobe-source-sans-pro-font.SlackBuild
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/adobe-source-sans-pro-font.SlackBuild')
-rw-r--r--system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild23
1 files changed, 18 insertions, 5 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/