desktop/partitionmanager/PKGBUILD

37 lines
1.1 KiB
Bash
Raw Normal View History

pkgname=partitionmanager
epoch=1
2016-03-12 06:42:42 +08:00
pkgver=2.1.0
2016-01-16 06:56:23 +08:00
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')
2016-01-16 06:56:23 +08:00
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")
2016-03-12 06:42:42 +08:00
sha256sums=('65459a78a47b02c35f62e344e964494f7ffa84581036b193e7653e0835d3aec0')
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
2010-12-11 09:49:13 +08:00
}
2010-12-11 09:49:13 +08:00
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}