summaryrefslogtreecommitdiff
path: root/extra/gparted
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-09 00:04:40 -0800
committerroot <root@rshg054.dnsready.net>2013-03-09 00:04:40 -0800
commit92eac63df242654434dceb000bac083f6e81a6b9 (patch)
tree322b4e24c165c3064505d5dac1a3172f9a28151d /extra/gparted
parent53d9a0cf7cf894f08a1f6736b8f8440bd7b18a59 (diff)
Sat Mar 9 00:04:39 PST 2013
Diffstat (limited to 'extra/gparted')
-rw-r--r--extra/gparted/PKGBUILD12
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"
}