system/adobe-source-sans-pro-font: Only install OTF fonts.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Dugan Chen 2012-12-16 17:43:47 -05:00 committed by dsomero
parent 28b3940fb5
commit 5348ef7f2a
4 changed files with 24 additions and 26 deletions

View File

@ -22,11 +22,13 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Currently maintained by Dugan Chen.
PRGNAM=adobe-source-sans-pro-font PRGNAM=adobe-source-sans-pro-font
VERSION=${VERSION:-1.038} VERSION=${VERSION:-1.038}
SRC=SourceSansPro_FontsOnly-${VERSION} SRC=SourceSansPro_FontsOnly-${VERSION}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
ARCH=noarch ARCH=noarch
@ -49,8 +51,6 @@ chmod -R u+w,go+r-w,a-s .
mkdir -p $PKG/usr/share/fonts/OTF/ mkdir -p $PKG/usr/share/fonts/OTF/
cp OTF/*.otf $PKG/usr/share/fonts/OTF/ cp OTF/*.otf $PKG/usr/share/fonts/OTF/
mkdir -p $PKG/usr/share/fonts/TTF/
cp TTF/*.ttf $PKG/usr/share/fonts/TTF/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.txt ReadMe.html SourceSansProReadMe.html $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE.txt ReadMe.html SourceSansProReadMe.html $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,10 +1,10 @@
PRGNAM="adobe-source-sans-pro-font" PRGNAM="adobe-source-sans-pro-font"
VERSION="1.038" VERSION="1.038"
HOMEPAGE="http://sourcesans.adobe.sourceforge.net/" HOMEPAGE="https://github.com/adobe/Source-Sans-Pro"
DOWNLOAD="http://downloads.sourceforge.net/sourcesans.adobe/SourceSansPro_FontsOnly-1.038.zip" DOWNLOAD="http://downloads.sourceforge.net/sourcesans.adobe/SourceSansPro_FontsOnly-1.038.zip"
MD5SUM="9593b87c5fc8ec83118f87692b224fc2" MD5SUM="9593b87c5fc8ec83118f87692b224fc2"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="LEVAI Daniel" MAINTAINER="Dugan Chen"
EMAIL="leva@ecentrum.hu" EMAIL="thedoogster [at] gmail [dot] com"

View File

@ -1,16 +1,8 @@
# Update mkfontscale and mkfontdir:
if [ -x /usr/bin/mkfontdir ]; then
( cd /usr/share/fonts/OTF
mkfontscale .
mkfontdir .
)
( cd /usr/share/fonts/TTF
mkfontscale .
mkfontdir .
)
fi
# Update the X font indexes: # Update the X font indexes:
if [ -x /usr/bin/mkfontdir ]; then
/usr/bin/mkfontscale /usr/share/fonts/OTF
/usr/bin/mkfontdir /usr/share/fonts/OTF
fi
if [ -x /usr/bin/fc-cache ]; then if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f /usr/bin/fc-cache -f
fi fi

View File

@ -1,14 +1,20 @@
# HOW TO EDIT THIS FILE: # HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line # The "handy ruler" below makes it easier to edit a package description.
# up the first '|' above the ':' following the base package name, and the '|' # Line up the first '|' above the ':' following the base package name, and
# on the right side marks the last column you can put a character in. You must # the '|' on the right side marks the last column you can put a character in.
# make exactly 11 lines for the formatting to be correct. It's also # You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
adobe-source-sans-pro-font: adobe-source-sans-pro-font adobe-source-sans-pro-font: adobe-source-sans-pro-font (open source font)
adobe-source-sans-pro-font: adobe-source-sans-pro-font:
adobe-source-sans-pro-font: A set of OpenType fonts designed for user interfaces. adobe-source-sans-pro-font: Adobe's open source user interface font. Designed by Paul D. Hunt
adobe-source-sans-pro-font: and influenced by Morris Fuller Benton's New Gothic and Franklin
adobe-source-sans-pro-font: Gothic fonts.
adobe-source-sans-pro-font: adobe-source-sans-pro-font:
adobe-source-sans-pro-font: Homepage: http://sourcesans.adobe.sourceforge.net/
adobe-source-sans-pro-font: adobe-source-sans-pro-font:
adobe-source-sans-pro-font:
adobe-source-sans-pro-font:
adobe-source-sans-pro-font:
adobe-source-sans-pro-font: