summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Heinz Wiesinger2021-09-05 16:22:58 +0200
committer Willy Sudiarto Raharjo2021-09-06 03:50:27 +0200
commit14a0253ec4941a4007ee2c61dd59ba0ac63714c3 (patch)
tree66507ce12e50a0831983c9c796b63829bc1582a3
parent2cf09cffad0ee377ed70ca68e5546110311b72c6 (diff)
downloadslackbuilds-14a0253ec4941a4007ee2c61dd59ba0ac63714c3.tar.gz
desktop/vbox-runner: Updated for version git_20200604_e2306271
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/vbox-runner/vbox-runner.SlackBuild51
-rw-r--r--desktop/vbox-runner/vbox-runner.info8
2 files changed, 31 insertions, 28 deletions
diff --git a/desktop/vbox-runner/vbox-runner.SlackBuild b/desktop/vbox-runner/vbox-runner.SlackBuild
index bbfd0e982e..0e9caec57f 100644
--- a/desktop/vbox-runner/vbox-runner.SlackBuild
+++ b/desktop/vbox-runner/vbox-runner.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for vbox-runner
-# Copyright 2010 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2010-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,21 +11,21 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vbox-runner
-VERSION=${VERSION:-0.3.3}
+VERSION=${VERSION:-git_20200604_e2306271}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/107926-$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,20 +79,23 @@ 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 {} \;
-KDEPREF=$(kde4-config --prefix)
+mkdir cmake-build
+cd cmake-build
+ cmake \
+ -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_INSTALL_LIBDIR="lib${LIBDIRSUFFIX}" \
+ -DCMAKE_INSTALL_MANDIR="man" \
+ ..
-cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX="$KDEPREF" \
- -DLIB_SUFFIX="$LIBDIRSUFFIX" \
- .
-
-make
-make install DESTDIR=$PKG
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/vbox-runner/vbox-runner.info b/desktop/vbox-runner/vbox-runner.info
index 11248a8a8b..dab0186808 100644
--- a/desktop/vbox-runner/vbox-runner.info
+++ b/desktop/vbox-runner/vbox-runner.info
@@ -1,8 +1,8 @@
PRGNAM="vbox-runner"
-VERSION="0.3.3"
-HOMEPAGE="https://store.kde.org/p/1081264/"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/vbox-runner/107926-vbox-runner-0.3.3.tar.gz"
-MD5SUM="1a5946de409e6e5bde67f58f542dcfd2"
+VERSION="git_20200604_e2306271"
+HOMEPAGE="https://github.com/alvanieto/vbox-runner"
+DOWNLOAD="http://www.liwjatan.at/files/src/vbox-runner/vbox-runner-git_20200604_e2306271.tar.xz"
+MD5SUM="302d11652f9dbc900f07069b2d3e0cc7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""