summaryrefslogtreecommitdiff
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
parent38b612f9ad183784fdec3bb834d5babfdbb9c263 (diff)
downloadslackbuilds-5666b92cddc0da1ba77972df8f7c0677d0170ae8.tar.gz
graphics/mcomix: Updated for version 1.00 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/mcomix/doinst.sh13
-rw-r--r--graphics/mcomix/mcomix.SlackBuild17
-rw-r--r--graphics/mcomix/mcomix.info10
-rw-r--r--graphics/mcomix/slack-desc2
4 files changed, 26 insertions, 16 deletions
diff --git a/graphics/mcomix/doinst.sh b/graphics/mcomix/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/graphics/mcomix/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
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}
diff --git a/graphics/mcomix/mcomix.info b/graphics/mcomix/mcomix.info
index d8e4c6e169..de4ff83502 100644
--- a/graphics/mcomix/mcomix.info
+++ b/graphics/mcomix/mcomix.info
@@ -1,10 +1,10 @@
PRGNAM="mcomix"
-VERSION="0.99"
+VERSION="1.00"
HOMEPAGE="http://mcomix.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/mcomix/mcomix-0.99.tar.bz2"
-MD5SUM="a1ff7e1955042069d5005b4034e7a914"
+DOWNLOAD="http://downloads.sourceforge.net/mcomix/mcomix-1.00.tar.bz2"
+MD5SUM="3a916dd9da17043ab59ccd17e26eb932"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools"
-MAINTAINER="Jože Zobec"
-EMAIL="jozze.zepl@gmail.com"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/graphics/mcomix/slack-desc b/graphics/mcomix/slack-desc
index 63f0251086..1de6c96669 100644
--- a/graphics/mcomix/slack-desc
+++ b/graphics/mcomix/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-mcomix: MComix - user-friendly, customizable image viewer for comic books
+mcomix: mcomix (comic book viewer)
mcomix:
mcomix: MComix is a user-friendly, customizable image viewer. It is
mcomix: specifically designed to handle comic books, but also serves as a