summaryrefslogtreecommitdiffstats
path: root/desktop/obbrowser
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/obbrowser')
-rw-r--r--desktop/obbrowser/README3
-rw-r--r--desktop/obbrowser/obbrowser.SlackBuild22
-rw-r--r--desktop/obbrowser/obbrowser.info8
3 files changed, 22 insertions, 11 deletions
diff --git a/desktop/obbrowser/README b/desktop/obbrowser/README
index a7a3c40cdd..811cb25101 100644
--- a/desktop/obbrowser/README
+++ b/desktop/obbrowser/README
@@ -1,6 +1,7 @@
obbrowser (openbox filesystem browser)
-Recursively browse the filesystem through openbox3 pipe menus, with icons.
+Recursively browse the filesystem through openbox3 pipe menus, with
+icons.
Use with obmenu-generator menu scheme (also available on SlackBuilds)
or default OpenBox menu scheme, otherwise it will be fairly useless.
diff --git a/desktop/obbrowser/obbrowser.SlackBuild b/desktop/obbrowser/obbrowser.SlackBuild
index ce248a6d59..054e05e0dd 100644
--- a/desktop/obbrowser/obbrowser.SlackBuild
+++ b/desktop/obbrowser/obbrowser.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for obbrowser.
#
-# Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# 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=obbrowser
-VERSION=${VERSION:-0.09}
+VERSION=${VERSION:-0.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,7 +82,7 @@ find -L . \
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
-install -Dm755 obbrowser $PKG/usr/bin/obbrowser
+install -Dm755 $PRGNAM $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
@@ -82,4 +92,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/desktop/obbrowser/obbrowser.info b/desktop/obbrowser/obbrowser.info
index 3fb652cf83..5b78470397 100644
--- a/desktop/obbrowser/obbrowser.info
+++ b/desktop/obbrowser/obbrowser.info
@@ -1,10 +1,10 @@
PRGNAM="obbrowser"
-VERSION="0.09"
+VERSION="0.15"
HOMEPAGE="https://github.com/trizen/obbrowser/"
-DOWNLOAD="https://github.com/trizen/obbrowser/archive/0.09/obbrowser-0.09.tar.gz"
-MD5SUM="b016997d382d5b9950efbe6e41415bb6"
+DOWNLOAD="https://github.com/trizen/obbrowser/archive/0.15/obbrowser-0.15.tar.gz"
+MD5SUM="af3f602408b5930514f3b0e1f546c453"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-file-mimeinfo perl-data-dump perl-linux-desktop-files perl-gtk2"
+REQUIRES="perl-file-mimeinfo perl-data-dump perl-linux-desktop-files perl-gtk2 perl-Gtk3"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"