2016-01-16 06:45:06 +08:00
|
|
|
pkgname=kpmcore
|
2017-04-29 13:37:45 +08:00
|
|
|
pkgver=3.0.3
|
|
|
|
pkgrel=1
|
2016-01-16 06:45:06 +08:00
|
|
|
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')
|
2016-05-27 21:03:30 +08:00
|
|
|
makedepends=('extra-cmake-modules' 'python3')
|
2016-01-16 06:45:06 +08:00
|
|
|
optdepends=('e2fsprogs: ext2/3/4 support'
|
|
|
|
'xfsprogs: XFS support'
|
|
|
|
'jfsutils: JFS support'
|
|
|
|
'reiserfsprogs: Reiser support'
|
|
|
|
'ntfs-3g: NTFS support'
|
|
|
|
'dosfstools: FAT32 support'
|
2017-03-01 06:23:19 +08:00
|
|
|
'f2fs-tools: F2FS support'
|
2016-01-16 06:45:06 +08:00
|
|
|
'btrfs-progs: btrfs support')
|
|
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
|
2017-04-29 13:37:45 +08:00
|
|
|
sha256sums=('a271a7f6e84ef161a1130a7ff9d998fc8b74d91098bfa8e0a92e0c9ec6cd989e')
|
2016-01-16 06:45:06 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
cmake ../$pkgname-$pkgver \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2016-05-27 21:03:30 +08:00
|
|
|
-DBUILD_TESTING=OFF
|
2016-01-16 06:45:06 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|