aboutsummaryrefslogtreecommitdiff
path: root/graphics/mcomix/mcomix.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-05-29 17:40:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-29 17:40:58 +0700
commit5666b92cddc0da1ba77972df8f7c0677d0170ae8 (patch)
treeef8fb091f3cd55c853058197b81ca18b885664ce /graphics/mcomix/mcomix.SlackBuild
parent38b612f9ad183784fdec3bb834d5babfdbb9c263 (diff)
graphics/mcomix: Updated for version 1.00 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 faf989befd802..a9a5abc351361 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}