diff options
Diffstat (limited to 'extra/gparted')
-rw-r--r-- | extra/gparted/PKGBUILD | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/extra/gparted/PKGBUILD b/extra/gparted/PKGBUILD index 5de0ed500..de0a7c48f 100644 --- a/extra/gparted/PKGBUILD +++ b/extra/gparted/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 173201 2012-12-13 00:53:58Z giovanni $ +# $Id: PKGBUILD 179620 2013-03-08 20:34:20Z 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=1 +pkgrel=2 pkgdesc="A Partition Magic clone, frontend to GNU Parted" arch=('i686' 'x86_64') url="http://gparted.sourceforge.net" @@ -42,12 +42,6 @@ package() { # Install policy file install -Dm644 "${srcdir}/org.archlinux.pkexec.gparted.policy" "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy" - # Install launcher script - mkdir -p ${pkgdir}/usr/bin - echo '#!/bin/sh' > ${pkgdir}/usr/bin/gparted-pkexec - echo 'pkexec "/usr/sbin/gparted" "$@"' >> ${pkgdir}/usr/bin/gparted-pkexec - chmod 755 ${pkgdir}/usr/bin/gparted-pkexec - # Modify desktop file - sed -i -e "s/Exec=.*/Exec=gparted-pkexec/" ${pkgdir}/usr/share/applications/gparted.desktop + sed -i -e "s|^Exec=.*|Exec=pkexec --disable-internal-agent /usr/sbin/gparted|" "${pkgdir}/usr/share/applications/gparted.desktop" } |