aboutsummaryrefslogtreecommitdiff
path: root/graphics/comix/comix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/comix/comix.SlackBuild')
-rw-r--r--graphics/comix/comix.SlackBuild38
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