aboutsummaryrefslogtreecommitdiff
path: root/system/artwiz-aleczapka
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2010-05-11 20:01:52 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:01:52 +0200
commitb0d02a1f054fc4dbc9a57daa91db213e3abe2180 (patch)
tree2ba0452d2e41ac0fe8e0a41b1aa6f05d3448e522 /system/artwiz-aleczapka
parentfd299742f98a1ca6fc30320d5ddad96f58854d47 (diff)
system/artwiz-aleczapka: Added to 12.0 repository
Diffstat (limited to 'system/artwiz-aleczapka')
-rw-r--r--system/artwiz-aleczapka/README13
-rw-r--r--system/artwiz-aleczapka/artwiz-aleczapka.SlackBuild56
-rw-r--r--system/artwiz-aleczapka/artwiz-aleczapka.info8
-rw-r--r--system/artwiz-aleczapka/doinst.sh12
-rw-r--r--system/artwiz-aleczapka/slack-desc19
5 files changed, 108 insertions, 0 deletions
diff --git a/system/artwiz-aleczapka/README b/system/artwiz-aleczapka/README
new file mode 100644
index 000000000000..bd925d196e88
--- /dev/null
+++ b/system/artwiz-aleczapka/README
@@ -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.
diff --git a/system/artwiz-aleczapka/artwiz-aleczapka.SlackBuild b/system/artwiz-aleczapka/artwiz-aleczapka.SlackBuild
new file mode 100644
index 000000000000..dbd350ce0470
--- /dev/null
+++ b/system/artwiz-aleczapka/artwiz-aleczapka.SlackBuild
@@ -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
diff --git a/system/artwiz-aleczapka/artwiz-aleczapka.info b/system/artwiz-aleczapka/artwiz-aleczapka.info
new file mode 100644
index 000000000000..ebb1f219c17f
--- /dev/null
+++ b/system/artwiz-aleczapka/artwiz-aleczapka.info
@@ -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"
diff --git a/system/artwiz-aleczapka/doinst.sh b/system/artwiz-aleczapka/doinst.sh
new file mode 100644
index 000000000000..79208337b756
--- /dev/null
+++ b/system/artwiz-aleczapka/doinst.sh
@@ -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
diff --git a/system/artwiz-aleczapka/slack-desc b/system/artwiz-aleczapka/slack-desc
new file mode 100644
index 000000000000..f5d2912877d8
--- /dev/null
+++ b/system/artwiz-aleczapka/slack-desc
@@ -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: