summaryrefslogtreecommitdiff
path: root/graphics/mcomix/mcomix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mcomix/mcomix.SlackBuild')
-rw-r--r--graphics/mcomix/mcomix.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/mcomix/mcomix.SlackBuild b/graphics/mcomix/mcomix.SlackBuild
index faf989befd..a9a5abc351 100644
--- a/graphics/mcomix/mcomix.SlackBuild
+++ b/graphics/mcomix/mcomix.SlackBuild
@@ -1,9 +1,11 @@
#!/bin/sh
-# Slackware build script for MComix
+# Slackware build script for mcomix
# written by Joze Zobec <jozze.zepl@gmail.com>
+# modified by B. Watson <yalhcru@gmail.com>
+
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -16,7 +18,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mcomix
-VERSION=${VERSION:-0.99}
+VERSION=${VERSION:-1.00}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,21 +71,16 @@ python setup.py install --single-version-externally-managed \
--prefix=/usr \
--record mcomix-files.txt
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
+# man page already gzipped, nice
mv $PKG/usr/share/man $PKG/usr/man
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README PKG-INFO COPYING \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README PKG-INFO COPYING $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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}