diff options
author | Brian Reichert <rignes@pobox.com> | 2010-05-11 20:00:35 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 20:00:35 +0200 |
commit | 9f5e4cf6efb2a068a7e64994052e902d314c7843 (patch) | |
tree | 0ed2672b58322e5b3d7c03a8c612f4cc2f904386 /graphics/comix/comix.SlackBuild | |
parent | 9e8c4edf108698fd96ff54d17d7da8e0744b01dc (diff) |
graphics/comix: Added to 12.0 repository
Diffstat (limited to 'graphics/comix/comix.SlackBuild')
-rw-r--r-- | graphics/comix/comix.SlackBuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/graphics/comix/comix.SlackBuild b/graphics/comix/comix.SlackBuild new file mode 100644 index 0000000000000..fa8544996bde0 --- /dev/null +++ b/graphics/comix/comix.SlackBuild @@ -0,0 +1,38 @@ +#!/bin/sh + +# Slackware build script for comix +# Written by Brian Reichert <rignes@pobox.com> + +PRGNAM=comix +VERSION=3.6.4 +ARCH=noarch +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +rm -rf $PKG +mkdir -p $TMP $PKG/usr $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 +cd $PRGNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +python install.py install --installdir $PKG/usr --no-mime --no-balloon || exit 1 + +# Correct manpage location +mv $PKG/usr/share/man $PKG/usr + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING ChangeLog README $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.tgz |