aboutsummaryrefslogtreecommitdiff
path: root/system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-05-30 07:15:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-31 10:36:25 +0700
commit9e53a0816d670589e19a462bbcfe1720d9b24d04 (patch)
tree7c04a454d00ba319e7acb9f9754222e06fb417ba /system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild
parente02a85dd19d7905fb997078e2aa56d4605391c86 (diff)
system/solarize-12x29-psf: Added (large linux console font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild')
-rw-r--r--system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild b/system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild
new file mode 100644
index 0000000000000..9acde6ddc855c
--- /dev/null
+++ b/system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+# Slackware build script for solarize-12x29-psf
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+PRGNAM=solarize-12x29-psf
+VERSION=${VERSION:-20150529}
+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
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod 644 *
+
+mkdir -p $PKG/usr/share/kbd/consolefonts
+install -m0644 *.psfu.gz $PKG/usr/share/kbd/consolefonts
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README *txt $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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}