# Maintainer: cdfk <cdfk1981-at-gmail.com>
pkgname=kvpm
pkgver=0.6.2
pkgrel=1
pkgdesc="KDE Volume and Partition Manager. Front end for Linux LVM and Gnu parted. It also handles creating and mounting file systems"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/kvpm/"
license=('GPL')
depends=('util-linux-ng' 'parted' 'kdelibs')
makedepends=('cmake' 'automoc4')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('00505b5f01c2aa27e620b0f5d6eba569')
build () {
unset LDFLAGS
cd ${srcdir}/${pkgname}-${pkgver}/${pkgname}
cmake -DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install
}