[arch-commits] Commit in gparted/trunk (PKGBUILD)
Giovanni Scafora
giovanni at nymeria.archlinux.org
Sun Jan 12 11:15:24 UTC 2014
Date: Sunday, January 12, 2014 @ 12:15:24
Author: giovanni
Revision: 203514
upgpkg: gparted 0.17.0-2
Fixed FS38466
Modified:
gparted/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-12 09:11:43 UTC (rev 203513)
+++ PKGBUILD 2014-01-12 11:15:24 UTC (rev 203514)
@@ -5,7 +5,7 @@
pkgname=gparted
pkgver=0.17.0
-pkgrel=1
+pkgrel=2
pkgdesc="A Partition Magic clone, frontend to GNU Parted"
arch=('i686' 'x86_64')
url="http://gparted.sourceforge.net"
@@ -21,7 +21,7 @@
'reiserfsprogs: for reiser partitions'
'xfsprogs: for xfs partitions'
'nilfs-utils: for nilfs2 support'
- 'polkit-gnome: to run gparted directly from menu'
+ 'polkit: to run gparted directly from menu'
'gpart: for recovering corrupt partition tables'
'mtools: utilities to access MS-DOS disks')
install=gparted.install
@@ -32,10 +32,15 @@
'122ed3120c846376bead22b25f6a3b19'
'0b68a4e2bc6bc15440730ebe2d7bf9f6')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in
+}
+
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
More information about the arch-commits
mailing list