mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
pkgname=partitionmanager
|
|
epoch=1
|
|
pkgver=2.2.0
|
|
pkgrel=1
|
|
pkgdesc="A KDE utility that allows you to manage disks, partitions, and file systems"
|
|
arch=('x86_64')
|
|
url="https://sourceforge.net/projects/partitionman"
|
|
license=('GPL2')
|
|
depends=('kpmcore' 'kio' 'qt5-base' 'kconfig' 'kcrash' 'kdoctools'
|
|
'kiconthemes' 'kjobwidgets' 'kwindowsystem' 'kxmlgui' 'kwidgetsaddons')
|
|
makedepends=('extra-cmake-modules' 'ntfs-3g' 'pkg-config' 'python3')
|
|
conflicts=('tribe-partitionmanager')
|
|
provides=('tribe-partitionmanager')
|
|
replaces=('tribe-partitionmanager<=1358163-8')
|
|
install=partitionmanager.install
|
|
options=('debug')
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
|
|
sha256sums=('0d108fafbe826997a45bfae8abdb77ad43e5db8205736d6a401a83230e080ae9')
|
|
|
|
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
|
|
}
|
|
|