summaryrefslogtreecommitdiffstats
path: root/desktop/dunst/dunst.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/dunst/dunst.SlackBuild')
-rw-r--r--desktop/dunst/dunst.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/desktop/dunst/dunst.SlackBuild b/desktop/dunst/dunst.SlackBuild
index 061cd91179..37dbc84429 100644
--- a/desktop/dunst/dunst.SlackBuild
+++ b/desktop/dunst/dunst.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2014-2021 S. S. Bolokanar, Bulgaria <sbolokanov@abv.bg>
+# Copyright 2014-2021 S. S. Bolokanar, Bulgaria <bolokanar@bulgars.org>
# С. С. Болоканаръ, България
# All rights reserved.
#
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dunst
-VERSION=${VERSION:-1.6.1}
+VERSION=${VERSION:-1.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -37,9 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -80,12 +77,13 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
make DESTDIR=$PKG \
+ SYSCONFDIR=/etc/xdg \
PREFIX=/usr \
MANPREFIX=/usr/man \
all install
# Don't clobber config
-mv -v $PKG/etc/dunst/dunstrc $PKG/etc/dunst/dunstrc.new
+mv -v $PKG/etc/xdg/dunst/dunstrc $PKG/etc/xdg/dunst/dunstrc.new
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