diff options
author | Симон Болоканов <sbolokanov@abv.bg> | 2016-04-03 17:50:44 +0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2016-04-03 21:44:59 -0500 |
commit | a60d6cca8dd55484ea26f9ebdfc2325df901c384 (patch) | |
tree | fa1975efd6f64506f97b27b44eedc71399d20d8b /desktop/dunst/dunst.SlackBuild | |
parent | 6a1f8e473713af22d746cf0f0e86419577a64ec0 (diff) |
desktop/dunst: don't clobber config, info update
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/dunst/dunst.SlackBuild')
-rw-r--r-- | desktop/dunst/dunst.SlackBuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/desktop/dunst/dunst.SlackBuild b/desktop/dunst/dunst.SlackBuild index 6f2ca6f49fe13..41987c224432a 100644 --- a/desktop/dunst/dunst.SlackBuild +++ b/desktop/dunst/dunst.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (c) 2014, Симон Болоканов, България +# Copyright (c) 2014-2016 Симонъ С. Болокановъ – Бдинъ, България # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -20,15 +20,16 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Written by Симон Болоканов <sbolokanov@abv.bg> +# Written by Симонъ С. Болокановъ <sbolokanov@abv.bg> # changelog: # v1.0.0 - Simon Bolokanov # v1.1.0 - revised for SBo - 09.10.2014 # 15.3.2015 - main site is down, fixed download url. Made some script clean ups +# 3.4.2016 - don't clobber the config PRGNAM=dunst VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -83,6 +84,9 @@ make DESTDIR=$PKG \ MANPREFIX=/usr/man \ 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 @@ -96,6 +100,7 @@ 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} |