pkgname=kpmcore pkgver=3.1.2 pkgrel=2 pkgdesc="A KDE utility that allows you to manage disks, partitions, and file systems" arch=('x86_64') url="http://kde.org/applications/system/kdepartitionmanager/" license=('GPL2') depends=('kio' 'parted' 'libatasmart' 'util-linux') makedepends=('extra-cmake-modules' 'python3') optdepends=('e2fsprogs: ext2/3/4 support' 'xfsprogs: XFS support' 'jfsutils: JFS support' 'reiserfsprogs: Reiser support' 'ntfs-3g: NTFS support' 'dosfstools: FAT32 support' 'f2fs-tools: F2FS support' 'btrfs-progs: btrfs support') source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") sha256sums=('52d4fa37b7939f1b584bdd1be4ed8bfa036f240ae05d6ec281cba717bb8ec6c1') build() { cd ${pkgname}-${pkgver} cmake ../$pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }