mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/hermit-font: Added (monospace font for programming).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d89c5db5ed
commit
664098a2b1
5 changed files with 105 additions and 0 deletions
4
system/hermit-font/README
Normal file
4
system/hermit-font/README
Normal file
|
@ -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.
|
13
system/hermit-font/doinst.sh
Normal file
13
system/hermit-font/doinst.sh
Normal file
|
@ -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
|
||||
|
59
system/hermit-font/hermit-font.SlackBuild
Normal file
59
system/hermit-font/hermit-font.SlackBuild
Normal file
|
@ -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}
|
10
system/hermit-font/hermit-font.info
Normal file
10
system/hermit-font/hermit-font.info
Normal file
|
@ -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"
|
19
system/hermit-font/slack-desc
Normal file
19
system/hermit-font/slack-desc
Normal file
|
@ -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:
|
Loading…
Reference in a new issue