diff options
Diffstat (limited to 'system/gparted/gparted.SlackBuild')
-rw-r--r-- | system/gparted/gparted.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/system/gparted/gparted.SlackBuild b/system/gparted/gparted.SlackBuild index 114f1473e4..70c27cc9cd 100644 --- a/system/gparted/gparted.SlackBuild +++ b/system/gparted/gparted.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gparted -VERSION=${VERSION:-0.16.0} +VERSION=${VERSION:-0.17.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,6 +65,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" \ + gparted.desktop.in.in + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -78,6 +81,12 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +install -Dm0644 $CWD/com.slackware.pkexec.gparted.policy \ + $PKG/usr/share/polkit-1/actions/com.slackware.pkexec.gparted.policy + +install -Dm0755 $CWD/gparted_polkit \ + $PKG/usr/sbin/gparted_polkit + gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |