system/adobe-source-sans-pro-font: Updated for version 2.10roman.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dugan Chen 2014-09-02 09:16:54 +07:00 committed by Willy Sudiarto Raharjo
parent 613c88e32e
commit f295321e1a
2 changed files with 22 additions and 9 deletions

View File

@ -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/

View File

@ -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=""