diff options
-rw-r--r-- | system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild | 23 | ||||
-rw-r--r-- | system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info | 8 |
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 339fa5b7e2..dc0ff70105 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 2aacb307ab..3718bd6d26 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="" |