summaryrefslogtreecommitdiffstats
path: root/desktop/hushboard
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/hushboard')
-rw-r--r--desktop/hushboard/hushboard.SlackBuild22
-rw-r--r--desktop/hushboard/hushboard.info8
2 files changed, 21 insertions, 9 deletions
diff --git a/desktop/hushboard/hushboard.SlackBuild b/desktop/hushboard/hushboard.SlackBuild
index 8306861f90..8c479e664b 100644
--- a/desktop/hushboard/hushboard.SlackBuild
+++ b/desktop/hushboard/hushboard.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hushboard
@@ -22,11 +22,14 @@
# 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=hushboard
-VERSION=${VERSION:-20210221_223b6f9}
+VERSION=${VERSION:-20220518_5d62c2a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-COMMIT=${COMMIT:-223b6f97164656bd57bd6c86e9bd297caa37cf85}
+PKGTYPE=${PKGTYPE:-tgz}
+COMMIT=${COMMIT:-5539a9ab503ae040eb0df3ba73595e07d6fc3fa0}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,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}
@@ -79,6 +89,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps
cp -a $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+chown root:root $PKG/usr/share/applications/$PRGNAM.desktop
+chmod 644 $PKG/usr/share/applications/$PRGNAM.desktop
cp -a $PRGNAM-512.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -90,4 +102,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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/hushboard/hushboard.info b/desktop/hushboard/hushboard.info
index ed5d385957..52ed53c350 100644
--- a/desktop/hushboard/hushboard.info
+++ b/desktop/hushboard/hushboard.info
@@ -1,10 +1,10 @@
PRGNAM="hushboard"
-VERSION="20210221"
+VERSION="20220518_5d62c2a"
HOMEPAGE="https://kryogenix.org/code/hushboard"
-DOWNLOAD="https://github.com/stuartlangridge/hushboard/archive/223b6f97164656bd57bd6c86e9bd297caa37cf85/hushboard-223b6f97164656bd57bd6c86e9bd297caa37cf85.tar.gz"
-MD5SUM="08578fd3b9907b728ff4d9eb40270d87"
+DOWNLOAD="https://github.com/stuartlangridge/hushboard/archive/5539a9ab503ae040eb0df3ba73595e07d6fc3fa0/hushboard-5539a9ab503ae040eb0df3ba73595e07d6fc3fa0.tar.gz"
+MD5SUM="48fdc1945b5438039856714aeca55865"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 py3cairo pygobject3-python3 six python-xlib"
+REQUIRES="python-xlib"
MAINTAINER="Justin Teague"
EMAIL="arcadellama@posteo.net"