From 390181625829c198722d98215bd844ad29ab6dcc Mon Sep 17 00:00:00 2001 From: Vlad Glagolev Date: Tue, 23 Jun 2020 02:27:39 +0000 Subject: spleen: new spell, monospaced bitmap fonts for consoles and terminals --- fonts-x11/spleen/BUILD | 1 + fonts-x11/spleen/DEPENDS | 1 + fonts-x11/spleen/DETAILS | 15 +++++++++++++++ fonts-x11/spleen/HISTORY | 2 ++ fonts-x11/spleen/INSTALL | 25 +++++++++++++++++++++++++ fonts-x11/spleen/PREPARE | 5 +++++ 6 files changed, 49 insertions(+) create mode 100755 fonts-x11/spleen/BUILD create mode 100755 fonts-x11/spleen/DEPENDS create mode 100755 fonts-x11/spleen/DETAILS create mode 100644 fonts-x11/spleen/HISTORY create mode 100755 fonts-x11/spleen/INSTALL create mode 100755 fonts-x11/spleen/PREPARE (limited to 'fonts-x11') diff --git a/fonts-x11/spleen/BUILD b/fonts-x11/spleen/BUILD new file mode 100755 index 0000000000..635352035d --- /dev/null +++ b/fonts-x11/spleen/BUILD @@ -0,0 +1 @@ +gzip -9 *.pcf *.psfu diff --git a/fonts-x11/spleen/DEPENDS b/fonts-x11/spleen/DEPENDS new file mode 100755 index 0000000000..79f11f29db --- /dev/null +++ b/fonts-x11/spleen/DEPENDS @@ -0,0 +1 @@ +depends smgl-foma diff --git a/fonts-x11/spleen/DETAILS b/fonts-x11/spleen/DETAILS new file mode 100755 index 0000000000..978dfde118 --- /dev/null +++ b/fonts-x11/spleen/DETAILS @@ -0,0 +1,15 @@ + SPELL=spleen + VERSION=1.7.1 + SOURCE=${SPELL}-${VERSION}.tar.gz + SOURCE_URL[0]=https://github.com/fcambus/${SPELL}/releases/download/${VERSION}/${SOURCE} + SOURCE_HASH=sha512:17b3062b8662139765325c9fb4684a60b46013cb5db3ec7e2fce8574de402553bb67760e05f71264fde3eb72af755a026ad5408c82bcfdf1fbda033d1b2eae8d +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" + GATHER_DOCS=off + WEB_SITE=https://www.cambus.net/spleen-monospaced-bitmap-fonts/ + LICENSE[0]=BSD + ENTERED=20200622 + SHORT="monospaced bitmap fonts for consoles and terminals" +cat << EOF +Spleen is a monospaced bitmap font for consoles and terminals. +It is available in 5 sizes: 5x8, 8x16, 12x24, 16x32, and 32x64. +EOF diff --git a/fonts-x11/spleen/HISTORY b/fonts-x11/spleen/HISTORY new file mode 100644 index 0000000000..3a937c8f52 --- /dev/null +++ b/fonts-x11/spleen/HISTORY @@ -0,0 +1,2 @@ +2020-06-22 Vlad Glagolev + * DETAILS, DEPENDS, BUILD, INSTALL, PREPARE: created spell, version 1.7.1 diff --git a/fonts-x11/spleen/INSTALL b/fonts-x11/spleen/INSTALL new file mode 100755 index 0000000000..d078470401 --- /dev/null +++ b/fonts-x11/spleen/INSTALL @@ -0,0 +1,25 @@ +local PCF_DIR="${INSTALL_ROOT}/usr/share/fonts/X11/misc" && +local OTF_DIR="${INSTALL_ROOT}/usr/share/fonts/X11/OTF" && +local PSFU_DIR="${INSTALL_ROOT}/usr/share/consolefonts" && + +if [ ! -d "${PCF_DIR}" ]; then + mkdir -p "${PCF_DIR}" +fi && + +install -vm 0644 *.pcf.gz "${PCF_DIR}" && + +if list_find "${SPLEEN_FORMATS}" otf; then + if [ ! -d "${OTF_DIR}" ]; then + mkdir -p "${OTF_DIR}" + fi && + + install -vm 0644 *.otf "${OTF_DIR}" +fi && + +if list_find "${SPLEEN_FORMATS}" psfu; then + if [ ! -d "${PSFU_DIR}" ]; then + mkdir -p "${PSFU_DIR}" + fi && + + install -vm 0644 *.psfu.gz "${PSFU_DIR}" +fi diff --git a/fonts-x11/spleen/PREPARE b/fonts-x11/spleen/PREPARE new file mode 100755 index 0000000000..d7f689336f --- /dev/null +++ b/fonts-x11/spleen/PREPARE @@ -0,0 +1,5 @@ +. "${GRIMOIRE}/FUNCTIONS" && + +config_query_multi SPLEEN_FORMATS "Which additional font formats do you want to install?" \ + psfu \ + otf -- cgit v1.2.3