libraries/libgda: Updated for version 5.2.2.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2013-12-25 16:20:58 -06:00 committed by Erik Hanson
parent f2cd23f78c
commit 67415a1571
3 changed files with 24 additions and 6 deletions

View file

@ -1,3 +1,16 @@
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@ -7,3 +20,6 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
config etc/libgda-5.0/config.new

View file

@ -2,7 +2,7 @@
# Slackware build script for libgda
# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libgda
VERSION=${VERSION:-5.2.1}
VERSION=${VERSION:-5.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -88,9 +88,11 @@ make install DESTDIR=$PKG
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
mv $PKG/etc/libgda-5.0/config $PKG/etc/libgda-5.0/config.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
ABOUT-NLS AUTHORS COPYING* ChangeLog INSTALL NEWS README \
AUTHORS COPYING* ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="libgda"
VERSION="5.2.1"
VERSION="5.2.2"
HOMEPAGE="http://www.gnome.org/"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libgda/5.2/libgda-5.2.1.tar.xz"
MD5SUM="b42958a36765183ecce1926e40067ffd"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libgda/5.2/libgda-5.2.2.tar.xz"
MD5SUM="d2676630e621ddf5db6e336e62c23742"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""