aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-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 433ce3149c8a..da1328b56867 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 61a1ca52d917..a54583df045a 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 387b5e94ab6b..2adb435b3da8 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 e61a90497acf..926680921761 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 e039eaef584e..0076cb83f993 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: