summaryrefslogtreecommitdiff
path: root/development/fuel
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-03-20 08:09:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-20 08:09:56 +0700
commitda44751e8d9cec83494956782ded3ee408cd702b (patch)
tree54a232b7cf54f789e82a895566df93fdd0eea50f /development/fuel
parentde49f90d49befbec6876b0efcffddd290fd0991a (diff)
downloadslackbuilds-da44751e8d9cec83494956782ded3ee408cd702b.tar.gz
development/fuel: Build with Qt4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/fuel')
-rw-r--r--development/fuel/README4
-rw-r--r--development/fuel/fuel.SlackBuild24
-rw-r--r--development/fuel/fuel.info2
-rw-r--r--development/fuel/slack-desc4
4 files changed, 13 insertions, 21 deletions
diff --git a/development/fuel/README b/development/fuel/README
index 2efed6e538..ff72f85181 100644
--- a/development/fuel/README
+++ b/development/fuel/README
@@ -1,5 +1,5 @@
fuel (GUI front-end for Fossil)
Fuel is cross-platform GUI front-end for the excellent Fossil SCM tool
-written in Qt. Fuel runs on Windows, OSX as well as various flavors of
-Unix including Linux and FreeBSD.
+written in Qt. Fuel runs on Windows, OSX as well as various flavors
+of Unix including Linux and FreeBSD.
diff --git a/development/fuel/fuel.SlackBuild b/development/fuel/fuel.SlackBuild
index ca4799a844..1c00e4a59d 100644
--- a/development/fuel/fuel.SlackBuild
+++ b/development/fuel/fuel.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for fuel.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +24,12 @@
PRGNAM=fuel
VERSION=${VERSION:-1.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$(uname -m) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -59,7 +59,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-src-$VERSION
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -71,21 +71,13 @@ find -L . \
qmake fuel.pro
make
-
-install -d $PKG/usr/bin
-install -D -m755 fuel $PKG/usr/bin/fuel
-install -d $PKG/usr/share/applications
-install -D -m644 rsrc/fuel.desktop $PKG/usr/share/applications/fuel.desktop
-install -d /usr/share/icons/hicolor/256x256/apps/
-install -D -m644 rsrc/icons/fuel.png $PKG/usr/share/icons/hicolor/256x256/apps/fuel.png
+make INSTALL_ROOT=$PKG install
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
-DOCS="doc/Building.md doc/Changes.md doc/License.txt"
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a doc/{Building.md,Changes.md,License.txt} $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/fuel/fuel.info b/development/fuel/fuel.info
index 347ea5aa08..871bde54ec 100644
--- a/development/fuel/fuel.info
+++ b/development/fuel/fuel.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://fuel-scm.org/files/releases/fuel-1.0.1.tar.gz"
MD5SUM="2dc6067711d7aff02bbe1b1585e55108"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 fossil"
+REQUIRES="fossil"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"
diff --git a/development/fuel/slack-desc b/development/fuel/slack-desc
index f77890ed0d..dc34e00873 100644
--- a/development/fuel/slack-desc
+++ b/development/fuel/slack-desc
@@ -9,10 +9,10 @@
fuel: fuel (GUI front-end for Fossil)
fuel:
fuel: Fuel is cross-platform GUI front-end for the excellent Fossil SCM tool
-fuel: written in Qt. Fuel runs on Windows, OSX as well as various flavors
+fuel: written in Qt. Fuel runs on Windows, OSX as well as various flavors
fuel: of Unix including Linux and FreeBSD.
fuel:
-fuel: Home Page: https://fuel-scm.org/fossil/home/
+fuel: Home page: https://fuel-scm.org/fossil/home/
fuel:
fuel:
fuel: