# $Id: PKGBUILD 124524 2011-05-22 18:37:51Z giovanni $ # Maintainer: Tobias Powalowski # Contributor: Nick B pkgname=partitionmanager pkgver=1.0.3 pkgrel=2 pkgdesc="A KDE 4 utility that allows you to manage disks, partitions, and file systems." arch=('i686' 'x86_64' 'mips64el') url="https://sourceforge.net/projects/partitionman/" license=('GPL2') depends=('kdebase-runtime' 'parted') makedepends=('cmake' 'automoc4' 'pkgconfig') optdepends=('e2fsprogs: ext2/3/4 support' 'xfsprogs: XFS support' 'jfsutils: JFS support' 'reiserfsprogs: Reiser support' 'ntfsprogs: NTFS support' 'dosfstools: FAT32 support') install=partitionmanager.install source=(http://downloads.sourceforge.net/partitionman/$pkgname-$pkgver.tar.bz2) build() { cd $srcdir/$pkgname-$pkgver mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON || return 1 make || return 1 make DESTDIR=$pkgdir install || return 1 } md5sums=('1f987d314c717ba2579c69eeef16336d')