From 92eac63df242654434dceb000bac083f6e81a6b9 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 9 Mar 2013 00:04:40 -0800 Subject: Sat Mar 9 00:04:39 PST 2013 --- extra/gparted/PKGBUILD | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'extra/gparted/PKGBUILD') 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 # Contributor: Andrew Simmons # Contributor: György Balló 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" } -- cgit v1.2.3-54-g00ecf