diff options
Diffstat (limited to 'system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild')
-rw-r--r-- | system/solarize-12x29-psf/solarize-12x29-psf.SlackBuild | 42 |
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 000000000000..9acde6ddc855 --- /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} |