desktop/notification-daemon: Updated for version 0.7.6.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2014-06-08 08:00:50 +07:00 committed by Willy Sudiarto Raharjo
parent 3c007f6e2e
commit 6c61a555f8
2 changed files with 13 additions and 19 deletions

View file

@ -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

View file

@ -1,10 +1,10 @@
PRGNAM="notification-daemon"
VERSION="0.7.5"
HOMEPAGE="http://www.galago-project.org/specs/notification/index.php"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/notification-daemon/0.7/notification-daemon-0.7.5.tar.xz"
MD5SUM="ff92ed27e3117235d6800cef3e510a1b"
VERSION="0.7.6"
HOMEPAGE="https://wiki.gnome.org/Projects/NotificationDaemon"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/notification-daemon/0.7/notification-daemon-0.7.6.tar.xz"
MD5SUM="08c9a6d18ead0aa62d933fc5a4135d38"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Binh Nguyen"
EMAIL="binhvng@gmail.com"
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"