summaryrefslogtreecommitdiff
path: root/extra/gparted
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-13 03:42:46 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-13 03:42:46 +0000
commitbcefa96cbc68f340b2aa11c108353993db074e76 (patch)
tree6891076b95494e90c5b7a9fd3628ea56e17588b5 /extra/gparted
parent61e090957dbc6b062f3a1af7eeb0d58478c6657d (diff)
Mon Jan 13 03:38:11 UTC 2014
Diffstat (limited to 'extra/gparted')
-rw-r--r--extra/gparted/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/extra/gparted/PKGBUILD b/extra/gparted/PKGBUILD
index c51b0b185..29ff4a14e 100644
--- a/extra/gparted/PKGBUILD
+++ b/extra/gparted/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 201370 2013-12-09 18:57:47Z giovanni $
+# $Id: PKGBUILD 203515 2014-01-12 11:15:34Z 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.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 @@ optdepends=('dosfstools: for FAT16 and FAT32 partitions'
'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 @@ md5sums=('ecd66491bb2061c6aa6077cc24823b9e'
'122ed3120c846376bead22b25f6a3b19'
'0b68a4e2bc6bc15440730ebe2d7bf9f6')
-build() {
+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}"
+
./configure --prefix=/usr \
--sbindir=/usr/bin
make