diff options
author | Dugan Chen <thedoogster [at] gmail [dot] com> | 2012-12-16 17:43:45 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-23 09:16:31 -0500 |
commit | 28b3940fb5e24b42d429bff0374843aef7f5fc0e (patch) | |
tree | 8acd86209d5cb46e4cf632289abfa8edc0d85ec3 | |
parent | 29d7ee8bb3b2262b00b6c79cd267281f53ae306e (diff) | |
download | slackbuilds-28b3940fb5e24b42d429bff0374843aef7f5fc0e.tar.gz |
system/adobe-source-code-pro-font: Only install OTF fonts.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
4 files changed, 22 insertions, 25 deletions
diff --git a/system/adobe-source-code-pro-font/adobe-source-code-pro-font.SlackBuild b/system/adobe-source-code-pro-font/adobe-source-code-pro-font.SlackBuild index d29b8138bb..63d453b972 100644 --- a/system/adobe-source-code-pro-font/adobe-source-code-pro-font.SlackBuild +++ b/system/adobe-source-code-pro-font/adobe-source-code-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-code-pro-font VERSION=${VERSION:-1.010} SRC=SourceCodePro_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 SourceCodeProReadMe.html $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/system/adobe-source-code-pro-font/adobe-source-code-pro-font.info b/system/adobe-source-code-pro-font/adobe-source-code-pro-font.info index aa4a73c20c..5ef0d5d865 100644 --- a/system/adobe-source-code-pro-font/adobe-source-code-pro-font.info +++ b/system/adobe-source-code-pro-font/adobe-source-code-pro-font.info @@ -1,10 +1,10 @@ PRGNAM="adobe-source-code-pro-font" VERSION="1.010" -HOMEPAGE="http://sourcecodepro.adobe.sourceforge.net/" +HOMEPAGE="https://github.com/adobe/Source-Code-Pro" DOWNLOAD="http://downloads.sourceforge.net/sourcecodepro.adobe/SourceCodePro_FontsOnly-1.010.zip" MD5SUM="b13521e8ff303f6940509f3dde96aec3" 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-code-pro-font/doinst.sh b/system/adobe-source-code-pro-font/doinst.sh index 74022896fe..07732c33c3 100644 --- a/system/adobe-source-code-pro-font/doinst.sh +++ b/system/adobe-source-code-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-code-pro-font/slack-desc b/system/adobe-source-code-pro-font/slack-desc index 4b5f57543d..abd1d7e935 100644 --- a/system/adobe-source-code-pro-font/slack-desc +++ b/system/adobe-source-code-pro-font/slack-desc @@ -1,14 +1,19 @@ # 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-code-pro-font: adobe-source-code-pro-font +adobe-source-code-pro-font: adobe-source-code-pro-font (monospaced font) +adobe-source-code-pro-font: +adobe-source-code-pro-font: Source Code Pro was designed by Paul D. Hunt as a companion to +adobe-source-code-pro-font: Source Sans. This complementary family was adapted from the Source +adobe-source-code-pro-font: design due to a request to create a monospaced version for coding +adobe-source-code-pro-font: applications. +adobe-source-code-pro-font: +adobe-source-code-pro-font: https://github.com/adobe/Source-Code-Pro adobe-source-code-pro-font: -adobe-source-code-pro-font: A set of monospaced OpenType fonts designed for coding environments. adobe-source-code-pro-font: -adobe-source-code-pro-font: Homepage: http://sourcecodepro.adobe.sourceforge.net/ adobe-source-code-pro-font: |