mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
37 lines
1019 B
Bash
37 lines
1019 B
Bash
pkgname=kpmcore
|
|
pkgver=2.2.0
|
|
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' 'python3')
|
|
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")
|
|
sha256sums=('6fbf955bdc710c60abc02db5f50c0a33cbb3c9a37f2e43056cdb2e923cfdf529')
|
|
|
|
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
|
|
}
|
|
|