diff options
Diffstat (limited to 'extra/gparted/PKGBUILD')
-rw-r--r-- | extra/gparted/PKGBUILD | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/extra/gparted/PKGBUILD b/extra/gparted/PKGBUILD index 9b9ad58ac..a80cb9d90 100644 --- a/extra/gparted/PKGBUILD +++ b/extra/gparted/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 173201 2012-12-13 00:53:58Z giovanni $ +# $Id: PKGBUILD 184007 2013-04-30 18:49:43Z 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 +pkgver=0.16.1 pkgrel=1 pkgdesc="A Partition Magic clone, frontend to GNU Parted" arch=('i686' 'x86_64' 'mips64el') @@ -14,18 +14,18 @@ depends=('parted' 'gtkmm' 'hicolor-icon-theme') makedepends=('intltool' 'pkg-config' 'gnome-doc-utils') optdepends=('dosfstools: for FAT16 and FAT32 partitions' 'jfsutils: for jfs partitions' - 'ntfsprogs: for ntfs partitions' + 'ntfs-3g: for ntfs partitions' 'reiserfsprogs: for reiser partitions' 'xfsprogs: for xfs partitions' 'nilfs-utils: for nilfs2 support' 'polkit-gnome: to run gparted directly from menu' 'gpart: for recovering corrupt partition tables' - 'mtools') + 'mtools: utilities to access MS-DOS disks') install=gparted.install source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2" 'org.archlinux.pkexec.gparted.policy') -md5sums=('1ffe859c70e102a776dffb1ff0a2164a' - '27c264cfad8fa413d75954dda7a2dd50') +md5sums=('3f399bff031b5ce14d11a8c346f4b89c' + 'c031d7d2b845ccb025b9f83e0ddd5653') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -42,12 +42,11 @@ 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 + # We need rename the original script + mv "${pkgdir}/usr/sbin/gparted" "${pkgdir}/usr/sbin/gparted.elf" - # Modify desktop file - sed -i -e "s/Exec=.*/Exec=gparted-pkexec/" ${pkgdir}/usr/share/applications/gparted.desktop + # Install launcher script + echo '#!/bin/sh' > ${pkgdir}/usr/sbin/gparted + echo 'pkexec --disable-internal-agent "/usr/sbin/gparted.elf" "$@"' >> ${pkgdir}/usr/sbin/gparted + chmod 755 ${pkgdir}/usr/sbin/gparted } |