diff options
Diffstat (limited to 'system/artwiz-aleczapka')
-rw-r--r-- | system/artwiz-aleczapka/README | 15 | ||||
-rw-r--r-- | system/artwiz-aleczapka/artwiz-aleczapka.SlackBuild | 16 |
2 files changed, 22 insertions, 9 deletions
diff --git a/system/artwiz-aleczapka/README b/system/artwiz-aleczapka/README index 860c26d785..bf4929d72e 100644 --- a/system/artwiz-aleczapka/README +++ b/system/artwiz-aleczapka/README @@ -1,8 +1,11 @@ -This is a set of artwiz fonts that is compatible with fontconfig/Xft-2.0. +This is a set of artwiz fonts that is compatible with +fontconfig/Xft-2.0. -This script can also build the alternate language versions which contain more -Latin-1 glyphs. Download the appropriate tarball from the artwiz-aleczapka -website and set $FONTLANG to "de" or "se". See the SlackBuild script for more -info. All languages should be able to coexist on the same machine. +This script can also build the alternate language versions which +contain more Latin-1 glyphs. Download the appropriate tarball +from the artwiz-aleczapka website and set $FONTLANG to "de" or "se". +See the SlackBuild script for more info. All languages should be able +to coexist on the same machine. -After installation you may need to restart X for it to use the new fonts. +After installation you may need to restart X for it to use the new +fonts. diff --git a/system/artwiz-aleczapka/artwiz-aleczapka.SlackBuild b/system/artwiz-aleczapka/artwiz-aleczapka.SlackBuild index 7be269316e..bc9326bb50 100644 --- a/system/artwiz-aleczapka/artwiz-aleczapka.SlackBuild +++ b/system/artwiz-aleczapka/artwiz-aleczapka.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for artwiz-aleczapka @@ -22,13 +22,23 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=artwiz-aleczapka VERSION=${VERSION:-1.3} ARCH=noarch BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -92,4 +102,4 @@ cat $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.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |