diff options
author | root <root@rshg054.dnsready.net> | 2013-03-11 00:04:02 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-03-11 00:04:02 -0700 |
commit | ef17357a9745e05e301b724d13a341067ddb3d5b (patch) | |
tree | 676472a92698122808799ec6539e332e4cbb9ce4 /extra/gparted | |
parent | 6ee08d6a9217906f2ef84f70923d3d362d4b40ad (diff) |
Mon Mar 11 00:04:02 PDT 2013
Diffstat (limited to 'extra/gparted')
-rw-r--r-- | extra/gparted/PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/extra/gparted/PKGBUILD b/extra/gparted/PKGBUILD index b2ff9aeac..aff754498 100644 --- a/extra/gparted/PKGBUILD +++ b/extra/gparted/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 179753 2013-03-09 17:23:03Z giovanni $ +# $Id: PKGBUILD 179832 2013-03-10 09:54:42Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Andrew Simmons <andrew.simmons@gmail.com> # Contributor: György Balló <ballogy@freestart.hu> pkgname=gparted pkgver=0.14.1 -pkgrel=4 +pkgrel=5 pkgdesc="A Partition Magic clone, frontend to GNU Parted" arch=('i686' 'x86_64') url="http://gparted.sourceforge.net" license=('GPL') -depends=('parted' 'gtkmm' 'hicolor-icon-theme' 'polkit-gnome') +depends=('parted' 'gtkmm' 'hicolor-icon-theme' 'polkit') makedepends=('intltool' 'pkg-config' 'gnome-doc-utils') optdepends=('dosfstools: for FAT16 and FAT32 partitions' 'jfsutils: for jfs partitions' @@ -18,6 +18,7 @@ optdepends=('dosfstools: for FAT16 and FAT32 partitions' 'reiserfsprogs: for reiser partitions' 'xfsprogs: for xfs partitions' 'nilfs-utils: for nilfs2 support' + 'polkit-gnome: to run gparted directly from menu' 'gpart: for recovering corrupt partition tables' 'mtools: utilities to access MS-DOS disks') install=gparted.install @@ -46,9 +47,6 @@ package() { # Install launcher script echo '#!/bin/sh' > ${pkgdir}/usr/sbin/gparted - echo 'pkexec "/usr/sbin/gparted.elf" "$@"' >> ${pkgdir}/usr/sbin/gparted + echo 'pkexec --disable-internal-agent "/usr/sbin/gparted.elf" "$@"' >> ${pkgdir}/usr/sbin/gparted chmod 755 ${pkgdir}/usr/sbin/gparted - - # Modify desktop file - sed -i -e "s|^Exec=.*|Exec=pkexec --disable-internal-agent /usr/sbin/gparted.elf|" "${pkgdir}/usr/share/applications/gparted.desktop" } |