summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/gksu-polkit/README2
-rw-r--r--system/gksu-polkit/gksu-polkit.SlackBuild12
-rw-r--r--system/gksu-polkit/gksu-polkit.info6
3 files changed, 9 insertions, 11 deletions
diff --git a/system/gksu-polkit/README b/system/gksu-polkit/README
index 48a47e727f..2341db4a22 100644
--- a/system/gksu-polkit/README
+++ b/system/gksu-polkit/README
@@ -4,5 +4,3 @@ gksu is a library and application used to ask the user for passwords
to run programs as root. It is not a good option now that we have
PolicyKit. This new version will provide similar functionality to
cover applications which still haven't been patched to use PolicyKit.
-
-This depends on libgee.
diff --git a/system/gksu-polkit/gksu-polkit.SlackBuild b/system/gksu-polkit/gksu-polkit.SlackBuild
index e1b1b1c5ec..08e8fcf896 100644
--- a/system/gksu-polkit/gksu-polkit.SlackBuild
+++ b/system/gksu-polkit/gksu-polkit.SlackBuild
@@ -4,7 +4,7 @@
# Written by ponce <matteo.bernardini@gmail.com>
PRGNAM=gksu-polkit
-VERSION=${VERSION:-20100909_d7e3160}
+VERSION=${VERSION:-0.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,7 +35,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog HACKING README THANKS TODO"
+DOCS="AUTHORS COPYING ChangeLog README THANKS TODO"
set -e # Exit on most errors
@@ -43,7 +43,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -53,12 +53,12 @@ find . \
-exec chmod 644 {} \;
# respect our $CFLAGS
-sed -i "s|-g -O2|$SLKCFLAGS|" aclocal.m4
-sed -i "s|-g -O2 -Wall|$SLKCFLAGS|" */Makefile.am
+sed -i "s|-g -O2|$SLKCFLAGS|" configure
+sed -i "s|-g -O2 -Wall|$SLKCFLAGS|" {common,gksu,libgksu}/Makefile.in
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh \
+./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
diff --git a/system/gksu-polkit/gksu-polkit.info b/system/gksu-polkit/gksu-polkit.info
index 2b873f9541..05ff7f42b4 100644
--- a/system/gksu-polkit/gksu-polkit.info
+++ b/system/gksu-polkit/gksu-polkit.info
@@ -1,8 +1,8 @@
PRGNAM="gksu-polkit"
-VERSION="20100909_d7e3160"
+VERSION="0.0.3"
HOMEPAGE="http://live.gnome.org/gksu"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/gksu-polkit-20100909_d7e3160.tar.xz"
-MD5SUM="6c0f658eb511482be2ee16a301d1f63b"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/gksu-polkit-0.0.3.tar.xz"
+MD5SUM="7caebea1aa7fc63c0391dc984ba50f8a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libgee"