summaryrefslogtreecommitdiff
path: root/development/eovim/eovim.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2019-12-15 23:31:29 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-21 11:02:48 +0700
commit6ac16eacb19a96ca5f2aaf0e5d254a497d20e092 (patch)
tree73bdf60dd1d8b101979eb843ffda747681479492 /development/eovim/eovim.SlackBuild
parentf2f1c84835f5161c48d4b4a8e2e77cca7db18711 (diff)
downloadslackbuilds-6ac16eacb19a96ca5f2aaf0e5d254a497d20e092.tar.gz
development/eovim: Updated for version 0.1.3.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'development/eovim/eovim.SlackBuild')
-rw-r--r--development/eovim/eovim.SlackBuild26
1 files changed, 8 insertions, 18 deletions
diff --git a/development/eovim/eovim.SlackBuild b/development/eovim/eovim.SlackBuild
index 39bbb984a8..3eaaa8b9a6 100644
--- a/development/eovim/eovim.SlackBuild
+++ b/development/eovim/eovim.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for eovim
-# Copyright 2018 Benjamin Trigona-Harany
+# Copyright 2018-2019 Benjamin Trigona-Harany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=eovim
-VERSION=${VERSION:-0.1.2}
+VERSION=${VERSION:-0.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,31 +69,21 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-cat >> src/main.c <<'code'
-static void __attribute__((constructor))
-__constructor(void)
-{
- const char bt_env[] = "EINA_LOG_BACKTRACE";
- if (! getenv(bt_env))
- setenv(bt_env, "-1", 1);
-}
-code
-
-sed -i "s/edje_object_signal_emit(gui/elm_layout_signal_emit(gui/" src/gui.c
+patch -p1 < $CWD/7b320.patch
+patch -p1 < $CWD/07716.patch
+patch -p1 < $CWD/dd8f0.patch
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLIB_INSTALL_DIR=lib${LIBDIRSUFFIX} \
+ ..
make install DESTDIR=$PKG
cd ..
-if [ "$LIBDIRSUFFIX" != "" ]; then
- mv $PKG/usr/lib{,$LIBDIRSUFFIX}
-fi
-
mv $PKG/usr/share/man $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done