# $Id$ # Maintainer: James Rayner # Contributor: Andrew Simmons # Contributor: Kamil Neczaj pkgname=gparted pkgver=0.3.8 pkgrel=2 pkgdesc="A Partition Magic clone written in C++ using the Gtkmm toolkit" arch=(i686 x86_64) url="http://gparted.sourceforge.net" license=(GPL) depends=('parted>=1.8.8' 'gtkmm') makedepends=('intltool') install=('gparted.install') source=(http://optusnet.dl.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('7c890472168b0b5e5f353b445758ab3f') build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr make || return 1 make DESTDIR=$startdir/pkg install sed -i 's/Exec=/Exec=gksu /g' $startdir/pkg/usr/share/applications/gparted.desktop }