desktop/partitionmanager/PKGBUILD
2018-01-08 13:51:06 +00:00

35 lines
1.1 KiB
Bash

pkgname=partitionmanager
epoch=1
pkgver=3.3.1
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' 'kde-cli-tools' 'kiconthemes'
'kjobwidgets' 'kwindowsystem' 'kxmlgui' 'kwidgetsaddons' 'hicolor-icon-theme')
makedepends=('extra-cmake-modules' 'ntfs-3g' 'pkg-config' 'python3' 'kdoctools')
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=('5107955f9c70fc859bef04a54bffb28cd50efe355694232b9860e9d9c97a0f4a')
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
}