2016-01-16 06:45:06 +08:00
|
|
|
pkgname=kpmcore
|
2016-03-12 06:38:11 +08:00
|
|
|
pkgver=2.1.0
|
2016-02-25 07:28:32 +08:00
|
|
|
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')
|
|
|
|
makedepends=('extra-cmake-modules')
|
|
|
|
optdepends=('e2fsprogs: ext2/3/4 support'
|
|
|
|
'xfsprogs: XFS support'
|
|
|
|
'jfsutils: JFS support'
|
|
|
|
'reiserfsprogs: Reiser support'
|
|
|
|
'ntfs-3g: NTFS support'
|
|
|
|
'dosfstools: FAT32 support'
|
|
|
|
'btrfs-progs: btrfs support')
|
|
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
|
2016-03-12 06:38:11 +08:00
|
|
|
sha256sums=('d94418380321ca9aaadbb47b90500341c16163f82ec519563d77bd4904f5dcad')
|
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 \
|
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
|
|
|
|