summaryrefslogtreecommitdiff
path: root/desktop/sgsearch/sgsearch.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-21 14:06:36 +0100
committerRobby Workman <rworkman@slackbuilds.org>2022-02-21 14:35:19 -0600
commit516312f6fb58e6ec093d7890b74d94c1a6de6113 (patch)
tree1b71b7ce9c9edb28bff5c528e2c88e7eadf02c38 /desktop/sgsearch/sgsearch.SlackBuild
parentf4e540b91159dcd748e2e5fb19ee7df5644a4f71 (diff)
downloadslackbuilds-516312f6fb58e6ec093d7890b74d94c1a6de6113.tar.gz
desktop/sgsearch: Updated for version 1.2.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/sgsearch/sgsearch.SlackBuild')
-rw-r--r--desktop/sgsearch/sgsearch.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/desktop/sgsearch/sgsearch.SlackBuild b/desktop/sgsearch/sgsearch.SlackBuild
index 6f99ff31c1..ebae1e417b 100644
--- a/desktop/sgsearch/sgsearch.SlackBuild
+++ b/desktop/sgsearch/sgsearch.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sgsearch
-VERSION=${VERSION:-1.1.9}
+VERSION=${VERSION:-1.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -66,13 +66,6 @@ fi
set -e
-# Use GTK3 as default.
-if [ "${GTK2:-no}" == "yes" ]; then
- OPT1="$OPT -DGTK3=OFF"
-else
- OPT2="$OPT -DGTK3=ON"
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -92,7 +85,8 @@ cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- $OPT1$OPT2 ..
+ -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
+ ..
make
make install DESTDIR=$PKG