mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
desktop/dunst: Updated for version 1.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1f8de6f8c0
commit
1db8282881
5 changed files with 8 additions and 29 deletions
|
@ -7,5 +7,5 @@ we all love to customize to perfection.
|
|||
|
||||
Configuration:
|
||||
|
||||
To customize dunst you have to copy config file from /etc/xdg/dunst to
|
||||
~/.config/dunst/dunstrc, then modify it to your liking.
|
||||
To customize dunst you have to copy /usr/share/dunst/dunstrc to
|
||||
~/.config/dunst/dunstrc and then modify it to your liking.
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
config() {
|
||||
NEW="$1"
|
||||
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
||||
# If there's no config file by that name, mv it over:
|
||||
if [ ! -r $OLD ]; then
|
||||
mv $NEW $OLD
|
||||
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
||||
# toss the redundant copy
|
||||
rm $NEW
|
||||
fi
|
||||
# Otherwise, we leave the .new copy for the admin to consider...
|
||||
}
|
||||
|
||||
config etc/xdg/dunst/dunstrc.new
|
|
@ -28,7 +28,7 @@
|
|||
# 3.4.2016 - don't clobber the config
|
||||
|
||||
PRGNAM=dunst
|
||||
VERSION=${VERSION:-1.3.2}
|
||||
VERSION=${VERSION:-1.4.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -74,18 +74,12 @@ 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 {} \;
|
||||
|
||||
# Change config dir to appropriate location
|
||||
sed -i 's,${PREFIX}/share/dunst,/etc/xdg/dunst,' Makefile
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
make DESTDIR=$PKG \
|
||||
PREFIX=/usr \
|
||||
MANPREFIX=/usr/man \
|
||||
all install
|
||||
|
||||
# Don't clobber the default config
|
||||
mv $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
|
||||
|
||||
|
@ -99,7 +93,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
|||
|
||||
mkdir -pv $PKG/install
|
||||
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}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="dunst"
|
||||
VERSION="1.3.2"
|
||||
VERSION="1.4.0"
|
||||
HOMEPAGE="https://dunst-project.org/"
|
||||
DOWNLOAD="https://github.com/dunst-project/dunst/archive/v1.3.2/dunst-1.3.2.tar.gz"
|
||||
MD5SUM="68ad9fd1dab537d7a1ad93c899c50278"
|
||||
DOWNLOAD="https://github.com/dunst-project/dunst/archive/v1.4.0/dunst-1.4.0.tar.gz"
|
||||
MD5SUM="8a8095566a1b913056674f802444311a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="libxdg-basedir"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Симонъ С. Болокановъ"
|
||||
EMAIL="sbolokanov@abv.bg"
|
||||
|
|
|
@ -14,6 +14,6 @@ dunst: It's very customizable, doesn't depend on any toolkits and therefore
|
|||
dunst: fits in those windowmanager centric setups we all love to customize
|
||||
dunst: to perfection.
|
||||
dunst:
|
||||
dunst: Homepage: http://knopwob.org/dunst/
|
||||
dunst: Homepage: https://dunst-project.org/
|
||||
dunst:
|
||||
dunst:
|
||||
|
|
Loading…
Reference in a new issue