summaryrefslogtreecommitdiffstats
path: root/system/herculesstudio/herculesstudio.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/herculesstudio/herculesstudio.SlackBuild')
-rw-r--r--system/herculesstudio/herculesstudio.SlackBuild20
1 files changed, 6 insertions, 14 deletions
diff --git a/system/herculesstudio/herculesstudio.SlackBuild b/system/herculesstudio/herculesstudio.SlackBuild
index b87343d15a..c45c3d89f5 100644
--- a/system/herculesstudio/herculesstudio.SlackBuild
+++ b/system/herculesstudio/herculesstudio.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for herculesstudio
# a GUI for the Hercules Emulator
-# Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
+# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +23,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# revision date 2012/08/09
+# revision date 2013/03/25
PRGNAM=herculesstudio
-VERSION=${VERSION:-1.3.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.4.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PRGUNTARRED=HerculesStudio
@@ -64,11 +64,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-# the tarball untars in the current directory...
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $PRGUNTARRED
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
+cd $PRGUNTARRED
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -76,12 +74,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Correct "target.path"
-sed -i "s,/usr/local/,/usr/,g" $PRGUNTARRED.pro
-
-# Fix for gcc-4.7
-patch -p0 < $CWD/herculesstudio_gcc47.patch
-
qmake
# Accept our CXXFLAGS