PKGBUILD 1.09 KB
Newer Older
1
pkgname=kpmcore
2
pkgver=4.0.0
Jeff Huang's avatar
Jeff Huang committed
3
pkgrel=1
4 5 6 7
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')
8
depends=('smartmontools' 'kwidgetsaddons' 'ki18n' 'kauth' 'qca')
Jeff Huang's avatar
Jeff Huang committed
9
makedepends=('extra-cmake-modules' 'python3')
10 11 12 13 14 15
optdepends=('e2fsprogs: ext2/3/4 support'
	    'xfsprogs: XFS support'
	    'jfsutils: JFS support'
	    'reiserfsprogs: Reiser support'
	    'ntfs-3g: NTFS support'
	    'dosfstools: FAT32 support'
16
	    'fatresize: FAT resize support'
17
	    'f2fs-tools: F2FS support'
18 19 20 21 22
	    'btrfs-progs: btrfs support'
	    'exfat-utils: exFAT support'
	    'nilfs-utils: nilfs support')
source=("https://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha256sums=('d7f044ca256369bec62ec5460bad397cd67473f4a8b2d48686e91a9bf24ddf6d')
23 24 25 26 27 28 29

build() {
  cd ${pkgname}-${pkgver}

  cmake ../$pkgname-$pkgver \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
Jeff Huang's avatar
Jeff Huang committed
30
    -DBUILD_TESTING=OFF
31 32 33 34 35 36 37
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}