desktop/partitionmanager/PKGBUILD
2016-02-24 23:33:25 +00:00

37 lines
1.1 KiB
Bash

pkgname=partitionmanager
epoch=1
pkgver=2.0.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' 'kdoctools'
'kiconthemes' 'kjobwidgets' 'kwindowsystem' 'kxmlgui' 'kwidgetsaddons')
makedepends=('extra-cmake-modules' 'ntfs-3g' 'pkg-config')
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=('c953ef3875c6c08ad3aeefa6cb4b31659dd681514079fb20432f360d133333e3')
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
}