From cbcc21839efaec71e45e50621549ffad4605bf01 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Wed, 12 May 2010 17:45:25 +0200 Subject: [PATCH] system/isomaster: Updated for version 1.3.5 --- system/isomaster/doinst.sh | 5 +++-- system/isomaster/isomaster.SlackBuild | 16 +++++++++------- system/isomaster/isomaster.info | 8 ++++---- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/system/isomaster/doinst.sh b/system/isomaster/doinst.sh index 85aad974d0..65fd352418 100644 --- a/system/isomaster/doinst.sh +++ b/system/isomaster/doinst.sh @@ -1,3 +1,4 @@ -if [ -x usr/bin/update-desktop-database ]; then - usr/bin/update-desktop-database &> /dev/null +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 fi + diff --git a/system/isomaster/isomaster.SlackBuild b/system/isomaster/isomaster.SlackBuild index 901ce17b73..66b1716c5b 100644 --- a/system/isomaster/isomaster.SlackBuild +++ b/system/isomaster/isomaster.SlackBuild @@ -4,7 +4,7 @@ # Written by Erik Hanson erik@slackbuilds.org PRGNAM=isomaster -VERSION=1.3.1 +VERSION=1.3.5 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -20,19 +20,21 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi +set -eu + rm -rf $PKG -mkdir -p $TMP $PKG -cd $TMP +mkdir -p $TMP $PKG $OUTPUT +cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . # No autotools, do manually. -patch -p0 < $CWD/Makefile.patch || exit 1 -CFLAGS="$SLKCFLAGS" make || exit 1 -make install DESTDIR=$PKG || exit 1 +patch -p0 < $CWD/Makefile.patch +CFLAGS="$SLKCFLAGS" make +make install DESTDIR=$PKG strip --strip-unneeded $PKG/usr/bin/* gzip -9 $PKG/usr/man/man?/* diff --git a/system/isomaster/isomaster.info b/system/isomaster/isomaster.info index 10ba4cbaaf..2419e69cc9 100644 --- a/system/isomaster/isomaster.info +++ b/system/isomaster/isomaster.info @@ -1,8 +1,8 @@ PRGNAM="isomaster" -VERSION="1.3.1" +VERSION="1.3.5" HOMEPAGE="http://littlesvr.ca/isomaster/index.php" -DOWNLOAD="http://littlesvr.ca/isomaster/releases/isomaster-1.3.1.tar.bz2" -MD5SUM="e86102919105662063ac294befe18472" +DOWNLOAD="http://littlesvr.ca/isomaster/releases/isomaster-1.3.5.tar.bz2" +MD5SUM="ceec3c0034d443f4d514558256038dcd" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" -APPROVED="David Somero" +APPROVED="dsomero"