summaryrefslogtreecommitdiffstats
path: root/fonts-x11
diff options
context:
space:
mode:
authorVlad Glagolev2017-04-07 19:52:31 -0400
committerVlad Glagolev2017-04-07 19:52:31 -0400
commit55fb10f2fbaffe98dcfb613523ef822ce5279edb (patch)
treebb117d236b6cb788d9be22d15acd49032d635378 /fonts-x11
parent6445652e6e56645b0a5f3b2d4c8294711fc4c03d (diff)
ohsnap: new spell, monospaced font based on Artwiz Snap with bold and versions with status icons
Diffstat (limited to 'fonts-x11')
-rwxr-xr-xfonts-x11/ohsnap/BUILD3
-rwxr-xr-xfonts-x11/ohsnap/DEPENDS1
-rwxr-xr-xfonts-x11/ohsnap/DETAILS18
-rw-r--r--fonts-x11/ohsnap/HISTORY2
-rwxr-xr-xfonts-x11/ohsnap/INSTALL13
5 files changed, 37 insertions, 0 deletions
diff --git a/fonts-x11/ohsnap/BUILD b/fonts-x11/ohsnap/BUILD
new file mode 100755
index 0000000000..4635a292d0
--- /dev/null
+++ b/fonts-x11/ohsnap/BUILD
@@ -0,0 +1,3 @@
+for font in *.pcf *.psfu; do
+ gzip -9 "${font}"
+done
diff --git a/fonts-x11/ohsnap/DEPENDS b/fonts-x11/ohsnap/DEPENDS
new file mode 100755
index 0000000000..79f11f29db
--- /dev/null
+++ b/fonts-x11/ohsnap/DEPENDS
@@ -0,0 +1 @@
+depends smgl-foma
diff --git a/fonts-x11/ohsnap/DETAILS b/fonts-x11/ohsnap/DETAILS
new file mode 100755
index 0000000000..43ba391e50
--- /dev/null
+++ b/fonts-x11/ohsnap/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=ohsnap
+ VERSION=1.8.0
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://downloads.sourceforge.net/sourceforge/osnapfont/${SOURCE}
+ SOURCE_HASH=sha512:6f0c6355f0d1f9f465388fc75587837e38508bf691ea219c70b809d13a623021e5d38330789caa0b2179b6792571f9de7188bde4ef51b59a967569280b9d6313
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://sourceforge.net/projects/osnapfont
+ LICENSE[0]=GPL
+ ENTERED=20170407
+ SHORT="monospaced font based on Artwiz Snap with bold and versions with status icons"
+cat << EOF
+Ohsnap is a monospaced bitmap font based on Artwiz Snap.
+
+There are ISO8859-1 versions, versions with status icons, consolefonts and work
+on ISO10646-1 versions is in progress. All have bold too.
+
+There are four sizes now: 6x11, 7x12, 6x13 and 7x14.
+EOF
diff --git a/fonts-x11/ohsnap/HISTORY b/fonts-x11/ohsnap/HISTORY
new file mode 100644
index 0000000000..fdbdf81b27
--- /dev/null
+++ b/fonts-x11/ohsnap/HISTORY
@@ -0,0 +1,2 @@
+2017-04-07 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS, DEPENDS, BUILD, INSTALL: created spell, version 1.8.0
diff --git a/fonts-x11/ohsnap/INSTALL b/fonts-x11/ohsnap/INSTALL
new file mode 100755
index 0000000000..d84dc5d1ed
--- /dev/null
+++ b/fonts-x11/ohsnap/INSTALL
@@ -0,0 +1,13 @@
+local font_dir="${INSTALL_ROOT}/usr/share/fonts/X11/misc/" &&
+local font_dir_console="${INSTALL_ROOT}/usr/share/consolefonts/"
+
+if [ ! -d "${font_dir}" ]; then
+ install -vm 755 -d "${font_dir}"
+fi &&
+
+if [ ! -d "${font_dir_console}" ]; then
+ install -vm 755 -d "${font_dir_console}"
+fi &&
+
+install -vm 0644 *.pcf.gz "${font_dir}" &&
+install -vm 0644 *.psfu.gz "${font_dir_console}"