system/artwiz-aleczapka: Added to 12.0 repository

This commit is contained in:
Kyle Guinn 2010-05-11 20:01:52 +02:00 committed by Robby Workman
parent fd299742f9
commit b0d02a1f05
5 changed files with 108 additions and 0 deletions

View File

@ -0,0 +1,13 @@
This is a set of artwiz fonts that is compatible with fontconfig/Xft-2.0.
There are tarballs for several different languages (encodings?) available from
the artwiz-aleczapka website. Take a look at the $FONTLANG variable in the
SlackBuild when building a non-English package. All languages should be able
to coexist on the same machine. The artwiz cursors are available in the
English tarball.
After installation you will need to restart X for the changes to take effect.
After uninstallation you may need to run "mkfontscale" and "mkfontdir" in
/usr/share/fonts/misc so that X can find the appropriate cursor font the
next time it starts.

View File

@ -0,0 +1,56 @@
#!/bin/sh
# Slackware build script for artwiz-aleczapka
# Written by Kyle Guinn <elyk03@gmail.com>
set -e
# To make a package for fonts other than English, run the script as, for
# example, "FONTLANG=de ./artwiz-aleczapka.SlackBuild". You will need to
# download the correct tarball and place it in this directory. See the
# SourceForge download page for the available tarballs.
FONTLANG=${FONTLANG:-en}
PRGNAM=artwiz-aleczapka-$FONTLANG
VERSION=1.3
ARCH=noarch
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# The English package contains a cursor font. To avoid clobbering the
# existing one (from the x/font-cursor-misc package), rename it.
# TODO: Figure out and document how to set the default cursor font.
if [ -e cursor.pcf ]; then
mv cursor.pcf artwiz-cursor.pcf
fi
gzip -9 *.pcf
mkdir -p $PKG/usr/share/fonts/misc
cp -a *.pcf.gz $PKG/usr/share/fonts/misc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog NEWS README* \
$PKG/usr/doc/$PRGNAM-$VERSION || true
cat $CWD/artwiz-aleczapka.SlackBuild > \
$PKG/usr/doc/$PRGNAM-$VERSION/artwiz-aleczapka.SlackBuild
mkdir -p $PKG/install
# Fix the package name in the slack-desc file
sed s/FONTLANG/$FONTLANG/g $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View File

@ -0,0 +1,8 @@
PRGNAM="artwiz-aleczapka"
VERSION="1.3"
HOMEPAGE="http://artwizaleczapka.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/artwizaleczapka/artwiz-aleczapka-en-1.3.tar.bz2"
MD5SUM="6c6c704f2f08f9d6308d366423dfa90e"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
APPROVED="rworkman"

View File

@ -0,0 +1,12 @@
#!/bin/sh
# 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

View 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 ':'.
|-----handy-ruler------------------------------------------------------|
artwiz-aleczapka-FONTLANG: artwiz-aleczapka (Artwiz Fonts Revisited)
artwiz-aleczapka-FONTLANG:
artwiz-aleczapka-FONTLANG: This is a set of improved artwiz fonts that is
artwiz-aleczapka-FONTLANG: compatible with fontconfig/Xft-2.0.
artwiz-aleczapka-FONTLANG:
artwiz-aleczapka-FONTLANG:
artwiz-aleczapka-FONTLANG:
artwiz-aleczapka-FONTLANG:
artwiz-aleczapka-FONTLANG:
artwiz-aleczapka-FONTLANG:
artwiz-aleczapka-FONTLANG: