diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/hermit-font/README | 4 | ||||
-rw-r--r-- | system/hermit-font/doinst.sh | 13 | ||||
-rw-r--r-- | system/hermit-font/hermit-font.SlackBuild | 59 | ||||
-rw-r--r-- | system/hermit-font/hermit-font.info | 10 | ||||
-rw-r--r-- | system/hermit-font/slack-desc | 19 |
5 files changed, 105 insertions, 0 deletions
diff --git a/system/hermit-font/README b/system/hermit-font/README new file mode 100644 index 0000000000..ad1260418c --- /dev/null +++ b/system/hermit-font/README @@ -0,0 +1,4 @@ +Hermit is a monospace font designed to be clear, pragmatic and very readable. +Its creation has been focused on programming. Every glyph was carefully +planned and calculated, according to defined principles and rules. +For this reason, Hermit is coherent and regular. diff --git a/system/hermit-font/doinst.sh b/system/hermit-font/doinst.sh new file mode 100644 index 0000000000..cdcb786ebe --- /dev/null +++ b/system/hermit-font/doinst.sh @@ -0,0 +1,13 @@ +# Update mkfontscale and mkfontdir: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/misc + mkfontscale . + mkfontdir . + ) +fi + +# Update the X font indexes: +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi + diff --git a/system/hermit-font/hermit-font.SlackBuild b/system/hermit-font/hermit-font.SlackBuild new file mode 100644 index 0000000000..6f673b9db3 --- /dev/null +++ b/system/hermit-font/hermit-font.SlackBuild @@ -0,0 +1,59 @@ +#!/bin/sh + +# Slackware build script for hermit-font + +# written by Alex-P. Natsios <drakevr@2f30.org> +# +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# 1.- Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY +# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +# ON ANY THEORY OF LIABILITY, 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. + +PRGNAM=hermit-font +FONTNAM=Hermit +VERSION=${VERSION:-1.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir -p $PKG/usr/share/fonts/OTF/ +cp -a $CWD/Hermit.otf $PKG/usr/share/fonts/OTF/ +cd $PKG/usr/share/fonts/OTF/ +chown root:root Hermit.otf +chmod 644 Hermit.otf + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/hermit-font/hermit-font.info b/system/hermit-font/hermit-font.info new file mode 100644 index 0000000000..632e7a7de5 --- /dev/null +++ b/system/hermit-font/hermit-font.info @@ -0,0 +1,10 @@ +PRGNAM="hermit-font" +VERSION="1.1" +HOMEPAGE="https://pcaro.es/p/hermit/" +DOWNLOAD="https://pcaro.es/d/Hermit.otf" +MD5SUM="d65cf2edde0d302e7d350fea03add58e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Alex-P. Natsios" +EMAIL="drakevr@2f30.org" diff --git a/system/hermit-font/slack-desc b/system/hermit-font/slack-desc new file mode 100644 index 0000000000..cb3cda6cd8 --- /dev/null +++ b/system/hermit-font/slack-desc @@ -0,0 +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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +hermit-font: hermit-font (monospace font for programming) +hermit-font: +hermit-font: Hermit is a monospace font designed to be clear, pragmatic and very +hermit-font: readable. +hermit-font: Its creation has been focused on programming. +hermit-font: Every glyph was carefully planned and calculated, according to defined +hermit-font: principles and rules. +hermit-font: For this reason, Hermit is coherent and regular. +hermit-font: +hermit-font: Homepage: https://pcaro.es/p/hermit/ +hermit-font: |