aboutsummaryrefslogtreecommitdiff
path: root/desktop/notification-daemon/notification-daemon.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-06-08 08:00:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-12 06:51:42 +0700
commit6c61a555f8d59f7240473e9712d6987f581a09c4 (patch)
tree19eea16edefd88139d2387b4caba931e5ecd3a02 /desktop/notification-daemon/notification-daemon.SlackBuild
parent3c007f6e2ec6168a88acc568d8afb08cd50a73a9 (diff)
desktop/notification-daemon: Updated for version 0.7.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/notification-daemon/notification-daemon.SlackBuild')
-rw-r--r--desktop/notification-daemon/notification-daemon.SlackBuild20
1 files changed, 7 insertions, 13 deletions
diff --git a/desktop/notification-daemon/notification-daemon.SlackBuild b/desktop/notification-daemon/notification-daemon.SlackBuild
index 6845d4f41b1e8..cd440082931c7 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 <binhvng@gmail.com>
+# Copyright 2014 Larry Hajali <larryhaja[at]gmail[dot]com>
# 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