summaryrefslogtreecommitdiff
path: root/games/redeclipse/redeclipse.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-02 04:11:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-05 07:02:20 +0700
commit9a496e7be947c9830950ef591cb15ce2ece6af85 (patch)
tree9dd87d4f9cb09206346588ee8c5afe4eefd54a76 /games/redeclipse/redeclipse.SlackBuild
parentf0ef763dd77784bf237a04f747a453bf36cc872f (diff)
downloadslackbuilds-9a496e7be947c9830950ef591cb15ce2ece6af85.tar.gz
games/redeclipse: Fix Build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/redeclipse/redeclipse.SlackBuild')
-rw-r--r--games/redeclipse/redeclipse.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/redeclipse/redeclipse.SlackBuild b/games/redeclipse/redeclipse.SlackBuild
index 0de07f6c4b..e572b2fac2 100644
--- a/games/redeclipse/redeclipse.SlackBuild
+++ b/games/redeclipse/redeclipse.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=redeclipse
-VERSION=${VERSION:-1.5}
+VERSION=${VERSION:-1.5.1}
SRCVER="7e7aba44e58a90f256321e5a7cb4879b"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,14 +78,14 @@ rm -rf bin/*
cd src
cp ../doc/man/cube2font.1 install/nix
- # Hack makefiles so Red Eclipse is installed into the folders we specify
- # and to respect SLKCFLAGS
- sed -e "s,@VERSION@,$VERSION," $CWD/Makefile.patch | patch -b
-
make EXTRA_CXXFLAGS="$SLKCFLAGS" all cube2font
make DESTDIR=$PKG system-install system-install-cube2font
)
+mv $PKG/usr/local/* $PKG/usr/
+mv $PKG/usr/share/man/ $PKG/usr
+rm -rf $PKG/usr/local
+
# Copy program documentation into the package
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/all-licenses.txt doc/cc-by-sa.txt doc/changelog.txt doc/cube2font.txt \