From 6c61a555f8d59f7240473e9712d6987f581a09c4 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 8 Jun 2014 08:00:50 +0700 Subject: desktop/notification-daemon: Updated for version 0.7.6. Signed-off-by: Willy Sudiarto Raharjo --- .../notification-daemon.SlackBuild | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'desktop/notification-daemon/notification-daemon.SlackBuild') diff --git a/desktop/notification-daemon/notification-daemon.SlackBuild b/desktop/notification-daemon/notification-daemon.SlackBuild index 6845d4f41b..cd44008293 100644 --- a/desktop/notification-daemon/notification-daemon.SlackBuild +++ b/desktop/notification-daemon/notification-daemon.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for notification-daemon # Copyright 2010, 2012 Binh Nguyen +# Copyright 2014 Larry Hajali # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=notification-daemon -VERSION=${VERSION:-0.7.5} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.7.6} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -54,7 +55,7 @@ else LIBDIRSUFFIX="" fi -set -eu +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -72,26 +73,19 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --localedir=/usr/share/locale \ --disable-static \ --enable-shared \ + --disable-silent-rules \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3