summaryrefslogtreecommitdiffstats
path: root/libraries/libgksu
diff options
context:
space:
mode:
author Stylianos Tsampas2010-05-13 00:30:42 +0200
committer Robby Workman2010-05-13 00:30:42 +0200
commit3c09fc558d117a35729fe9c811f4c548a7dabf14 (patch)
tree165c28482cfa51c4db7cc8aec9612c7ef3784474 /libraries/libgksu
parentc190c593658fb83b46cdb441f81d80f5e731a329 (diff)
downloadslackbuilds-3c09fc558d117a35729fe9c811f4c548a7dabf14.tar.gz
libraries/libgksu: Updated for version 2.0.7
Diffstat (limited to 'libraries/libgksu')
-rw-r--r--libraries/libgksu/README2
-rw-r--r--libraries/libgksu/doinst.sh8
-rw-r--r--libraries/libgksu/libgksu.SlackBuild12
-rw-r--r--libraries/libgksu/libgksu.info2
-rw-r--r--libraries/libgksu/slack-desc8
5 files changed, 20 insertions, 12 deletions
diff --git a/libraries/libgksu/README b/libraries/libgksu/README
index 433ce3149c..da1328b568 100644
--- a/libraries/libgksu/README
+++ b/libraries/libgksu/README
@@ -4,4 +4,4 @@ a frontend to su. It is useful to menu items or other graphical
programs that need to ask a user's password to run another program
as another user.
-It requires GConf, libgtop, and gnome-keyring.
+This requires GConf, libgtop, and gnome-keyring.
diff --git a/libraries/libgksu/doinst.sh b/libraries/libgksu/doinst.sh
index 61a1ca52d9..a54583df04 100644
--- a/libraries/libgksu/doinst.sh
+++ b/libraries/libgksu/doinst.sh
@@ -3,11 +3,11 @@ chroot . gconftool-2 --makefile-install-rule \
/etc/gconf/schemas/gksu.schemas \
1>/dev/null
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database /usr/share/mime &> /dev/null
-fi
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database &> /dev/null
fi
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database /usr/share/mime &> /dev/null
+fi
+
diff --git a/libraries/libgksu/libgksu.SlackBuild b/libraries/libgksu/libgksu.SlackBuild
index 387b5e94ab..2adb435b3d 100644
--- a/libraries/libgksu/libgksu.SlackBuild
+++ b/libraries/libgksu/libgksu.SlackBuild
@@ -36,10 +36,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -61,6 +64,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -75,8 +79,10 @@ make install DESTDIR=$PKG
mkdir -p $PKG/etc/gconf/gconf.xml.defaults
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -93,4 +99,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/libgksu/libgksu.info b/libraries/libgksu/libgksu.info
index e61a90497a..9266809217 100644
--- a/libraries/libgksu/libgksu.info
+++ b/libraries/libgksu/libgksu.info
@@ -3,6 +3,8 @@ VERSION="2.0.7"
HOMEPAGE="http://www.nongnu.org/gksu/"
DOWNLOAD="http://people.debian.org/~kov/gksu/libgksu-2.0.7.tar.gz"
MD5SUM="2f2c6a21281370942ea2855553d3ad89"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Stylianos Tsampas"
EMAIL="ztsampas@otenet.gr"
APPROVED="rworkman"
diff --git a/libraries/libgksu/slack-desc b/libraries/libgksu/slack-desc
index e039eaef58..0076cb83f9 100644
--- a/libraries/libgksu/slack-desc
+++ b/libraries/libgksu/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler-----------------------------------------------------|
libgksu: libgksu (library for gksu)
-libgksu:
+libgksu:
libgksu: libgksu is a library that provides a Gtk+ frontend to su and sudo.
libgksu: It supports login shells and preserving environment when acting as
libgksu: a su frontend. It is useful to menu items or other graphical
libgksu: programs that need to ask a user's password to run another program
libgksu: as another user.
-libgksu:
+libgksu:
libgksu: Homepage: http://www.nongnu.org/gksu/
-libgksu:
-libgksu:
+libgksu:
+libgksu: