summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2012-12-16 17:43:47 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:32 -0500
commit5348ef7f2af521d72f1ab2a78240964cb4e0815a (patch)
treea86a4ac64a0ef2d528bb012efade24135b2ce897
parent28b3940fb5e24b42d429bff0374843aef7f5fc0e (diff)
downloadslackbuilds-5348ef7f2af521d72f1ab2a78240964cb4e0815a.tar.gz
system/adobe-source-sans-pro-font: Only install OTF fonts.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild6
-rw-r--r--system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info6
-rw-r--r--system/adobe-source-sans-pro-font/doinst.sh14
-rw-r--r--system/adobe-source-sans-pro-font/slack-desc22
4 files changed, 23 insertions, 25 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 50714c30ce..5b7ddfa42a 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
@@ -22,11 +22,13 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Currently maintained by Dugan Chen.
PRGNAM=adobe-source-sans-pro-font
VERSION=${VERSION:-1.038}
SRC=SourceSansPro_FontsOnly-${VERSION}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -49,8 +51,6 @@ chmod -R u+w,go+r-w,a-s .
mkdir -p $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
cp -a LICENSE.txt ReadMe.html SourceSansProReadMe.html $PKG/usr/doc/$PRGNAM-$VERSION
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 e0283356bc..12cf9280f3 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,10 +1,10 @@
PRGNAM="adobe-source-sans-pro-font"
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"
MD5SUM="9593b87c5fc8ec83118f87692b224fc2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="LEVAI Daniel"
-EMAIL="leva@ecentrum.hu"
+MAINTAINER="Dugan Chen"
+EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/system/adobe-source-sans-pro-font/doinst.sh b/system/adobe-source-sans-pro-font/doinst.sh
index 74022896fe..07732c33c3 100644
--- a/system/adobe-source-sans-pro-font/doinst.sh
+++ b/system/adobe-source-sans-pro-font/doinst.sh
@@ -1,16 +1,8 @@
-# Update mkfontscale and mkfontdir:
+# Update the X font indexes:
if [ -x /usr/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/OTF
- mkfontscale .
- mkfontdir .
- )
- ( cd /usr/share/fonts/TTF
- mkfontscale .
- mkfontdir .
- )
+ /usr/bin/mkfontscale /usr/share/fonts/OTF
+ /usr/bin/mkfontdir /usr/share/fonts/OTF
fi
-
-# Update the X font indexes:
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f
fi
diff --git a/system/adobe-source-sans-pro-font/slack-desc b/system/adobe-source-sans-pro-font/slack-desc
index c581d026e1..b50c53fa30 100644
--- a/system/adobe-source-sans-pro-font/slack-desc
+++ b/system/adobe-source-sans-pro-font/slack-desc
@@ -1,14 +1,20 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
|-----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: 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: 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:
+