[arch-commits] Commit in gparted/trunk (PKGBUILD)

Giovanni Scafora giovanni at nymeria.archlinux.org
Sun May 19 16:28:47 UTC 2013


    Date: Sunday, May 19, 2013 @ 18:28:47
  Author: giovanni
Revision: 185865

upgpkg: gparted 0.16.1-3

Fixed gparted.desktop file

Modified:
  gparted/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-19 16:27:49 UTC (rev 185864)
+++ PKGBUILD	2013-05-19 16:28:47 UTC (rev 185865)
@@ -5,7 +5,7 @@
 
 pkgname=gparted
 pkgver=0.16.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A Partition Magic clone, frontend to GNU Parted"
 arch=('i686' 'x86_64')
 url="http://gparted.sourceforge.net"
@@ -33,6 +33,7 @@
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
+  sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in
   ./configure --prefix=/usr \
               --sbindir=/usr/bin
   make
@@ -41,7 +42,6 @@
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-  sed -i -e "s:Exec=gksudo /usr/bin/gparted %f:Exec=/usr/bin/gparted_polkit %f:g" gparted.desktop
   make DESTDIR="${pkgdir}" install
 
   # Install policy file




More information about the arch-commits mailing list