desktop/kpmcore/PKGBUILD

37 lines
1023 B
Bash
Raw Normal View History

pkgname=kpmcore
2016-02-25 07:28:32 +08:00
pkgver=2.0.1
pkgrel=1
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-02-25 07:28:32 +08:00
sha256sums=('91747cbc63a4d01b0e4632adfdf4865f3c6f78d00459b504d400252237013c33')
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
}