summaryrefslogtreecommitdiff
path: root/desktop/notification-daemon/notification-daemon.SlackBuild
diff options
context:
space:
mode:
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 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 <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