diff options
author | root <root@rshg054.dnsready.net> | 2012-11-26 01:53:53 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-26 01:53:53 -0800 |
commit | d41782ebd2416faf39268ec9a2c3242430390308 (patch) | |
tree | 856102788879ffdd560e4e61769df4c0df369d18 /extra/gparted | |
parent | 7078408fce09d86886894f26c22cc36fc16aa4cc (diff) |
Mon Nov 26 01:48:57 PST 2012
Diffstat (limited to 'extra/gparted')
-rw-r--r-- | extra/gparted/PKGBUILD | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/extra/gparted/PKGBUILD b/extra/gparted/PKGBUILD index be00fc49c..9515cdd67 100644 --- a/extra/gparted/PKGBUILD +++ b/extra/gparted/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 168428 2012-10-11 16:00:51Z giovanni $ +# $Id: PKGBUILD 171955 2012-11-25 09:02:02Z 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.0 -pkgrel=1 +pkgrel=2 pkgdesc="A Partition Magic clone, frontend to GNU Parted" arch=('i686' 'x86_64') url="http://gparted.sourceforge.net" license=('GPL') -depends=('parted' 'gtkmm' 'hicolor-icon-theme') +depends=('parted' 'gtkmm' 'hicolor-icon-theme' 'gksu') makedepends=('intltool' 'pkg-config' 'gnome-doc-utils') optdepends=('dosfstools: for FAT16 and FAT32 partitions' 'jfsutils: for jfs partitions' @@ -18,14 +18,11 @@ optdepends=('dosfstools: for FAT16 and FAT32 partitions' 'reiserfsprogs: for reiser partitions' 'xfsprogs: for xfs partitions' 'nilfs-utils: for nilfs2 support' - 'polkit: to run gparted directly from menu' 'gpart: for recovering corrupt partition tables' 'mtools') install=gparted.install -source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2" - 'org.archlinux.pkexec.gparted.policy') -md5sums=('fc3507479e930967a2049c533907384d' - '27c264cfad8fa413d75954dda7a2dd50') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2") +md5sums=('fc3507479e930967a2049c533907384d') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -38,16 +35,4 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - - # 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 } |