From 5348ef7f2af521d72f1ab2a78240964cb4e0815a Mon Sep 17 00:00:00 2001 From: Dugan Chen Date: Sun, 16 Dec 2012 17:43:47 -0500 Subject: system/adobe-source-sans-pro-font: Only install OTF fonts. Signed-off-by: dsomero --- .../adobe-source-sans-pro-font.SlackBuild | 6 +++--- .../adobe-source-sans-pro-font.info | 6 +++--- system/adobe-source-sans-pro-font/doinst.sh | 14 +++----------- system/adobe-source-sans-pro-font/slack-desc | 22 ++++++++++++++-------- 4 files changed, 23 insertions(+), 25 deletions(-) (limited to 'system/adobe-source-sans-pro-font') 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 50714c30ceae..5b7ddfa42ae3 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 e0283356bc04..12cf9280f369 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 74022896fe77..07732c33c3be 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 c581d026e121..b50c53fa300f 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: + -- cgit v1.2.3