mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libgksu: Updated for version 2.0.7
This commit is contained in:
parent
c190c59365
commit
3c09fc558d
5 changed files with 20 additions and 12 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue